Releases: laozhu/wsk
Releases · laozhu/wsk
v1.0.0
Prerequisites
If you use macOS for development, install packages with brew.
$ brew install yarn # npm replacement
$ brew cask install imageoptim # image compression
$ brew install ngrok # remote demo
Features
- Refactor webpack configs to support webpack 4 and babel 7
- Support
MPA
,SPA
and no HTML page front-end project - Move almost all preset files within project root to fat package.json
- Consistent browserlist config of the project in package.json
- Compile
ES6+
to browser compatible Javascript with babel and @babel/preset-env - Compile next generation CSS to browser compatible CSS with PostCSS and awesome plugins
- Lint all Javascript files with eslint and eslint-config-airbnb-base
- Lint all CSS files with stylelint and stylelint-config-standard
- Support
.dll.js
files bundling and HTML inject with DllPlugin and DllReferencePlugin - Generate webpack assets manifest.json for backend template reference
- Setup a programmable local mock server with json-server
- Compress all assets and take care of their version for caching in production
- Image compression with imageOptim CLI
- Setup remote demo for localhost project in seconds with ngrok