Executable Webpack demos, still UPDATING!
Table of Contents generated with DocToc
- clone repo & enter the demo directory
- run a demo by
yarn open <path>
Example:
$ yarn open 05-code-splitting/async-chunk
- entry-string
- entry-array
- entry-object
- entry-function
- output-filename
- output-path(TODO)
- output-publicPath(TODO)
- output-chunkFilename(TODO)
- babel-loader
- css-loader
- ts-loader
- eslint-loader
- html-loader
- handlebars-loader
- vue-loader
- file-loader
- url-loader
- svg-inline-loader(TODO)
- how-to-write-a-loader
- css-modules
- extract-css
- mini-css-extract-plugin
- extract-multiple-css
- less
- scss
- postcss-loader
- postcss-autoprefixer
- postcss-cssnext
- postcss-stylelint
- externals
- ...
This repo is still updating, any issue & contribution is welcome💡