├── .babelrc ├── .gitignore ├── README.md ├── package.json ├── postcss.config.js ├── src ├── config │ ├── base.js │ ├── dev.js │ └── prod.js ├── favicon.ico ├── index.html ├── index.js └── index.scss ├── webpack-config ├── base.js ├── dev.js └── prod.js └── webpack.config.js /.babelrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mlxiao93/webpack-demo/HEAD/.babelrc -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mlxiao93/webpack-demo/HEAD/.gitignore -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mlxiao93/webpack-demo/HEAD/README.md -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mlxiao93/webpack-demo/HEAD/package.json -------------------------------------------------------------------------------- /postcss.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mlxiao93/webpack-demo/HEAD/postcss.config.js -------------------------------------------------------------------------------- /src/config/base.js: -------------------------------------------------------------------------------- 1 | export default { 2 | version: '1.0.0' 3 | } 4 | -------------------------------------------------------------------------------- /src/config/dev.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mlxiao93/webpack-demo/HEAD/src/config/dev.js -------------------------------------------------------------------------------- /src/config/prod.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mlxiao93/webpack-demo/HEAD/src/config/prod.js -------------------------------------------------------------------------------- /src/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mlxiao93/webpack-demo/HEAD/src/favicon.ico -------------------------------------------------------------------------------- /src/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mlxiao93/webpack-demo/HEAD/src/index.html -------------------------------------------------------------------------------- /src/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mlxiao93/webpack-demo/HEAD/src/index.js -------------------------------------------------------------------------------- /src/index.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mlxiao93/webpack-demo/HEAD/src/index.scss -------------------------------------------------------------------------------- /webpack-config/base.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mlxiao93/webpack-demo/HEAD/webpack-config/base.js -------------------------------------------------------------------------------- /webpack-config/dev.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mlxiao93/webpack-demo/HEAD/webpack-config/dev.js -------------------------------------------------------------------------------- /webpack-config/prod.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mlxiao93/webpack-demo/HEAD/webpack-config/prod.js -------------------------------------------------------------------------------- /webpack.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mlxiao93/webpack-demo/HEAD/webpack.config.js --------------------------------------------------------------------------------