https://github.com/edvardchen/webpack4-starter
front-end starter with webpack 4, flow, prettier, eslint
https://github.com/edvardchen/webpack4-starter
eslint flow prettier webpack4
Last synced: about 1 month ago
JSON representation
front-end starter with webpack 4, flow, prettier, eslint
- Host: GitHub
- URL: https://github.com/edvardchen/webpack4-starter
- Owner: edvardchen
- Created: 2018-05-02T10:08:49.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-05-09T03:18:22.000Z (about 8 years ago)
- Last Synced: 2025-10-21T04:42:41.338Z (8 months ago)
- Topics: eslint, flow, prettier, webpack4
- Language: JavaScript
- Homepage:
- Size: 33.2 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Fetures
+ `webpack` > 4
+ `prettier` + `eslint`(with `eslint-config-airbnb`)
+ `husky` + `lint-staged`to prevent bad commits
+ `scss` + `postcss`
+ tree shake `lodash` (with `babel-plugin-lodash` and `lodash-webpack-plugin`)
## Real Long Term Caching
+ `webpack.NamedChunksPlugin` undocumented webapck plugin, to generate string `name` rather than numerical id for `chunk`
+ [webpack.HashedModuleIdsPlugin](https://webpack.js.org/plugins/hashed-module-ids-plugin/) do the same thing for `module`