1.3.0 • Published 4 years ago

create-webpack-slim v1.3.0

Weekly downloads
2
License
MIT
Repository
github
Last release
4 years ago

create-webpack-slim

npm.io npm.io npm.io

Quickly create a simple webpack app

Usage

npx create-webpack-slim my-app
cd my-app
yarn install
yarn start

create-webpack-slim

Content

  • dev config webpack.config.dev.js
    • babel
    • css module
    • html template
    • devServer
  • prod config webpack.config.prod.js

    • css extract
    • hash8 filename
    • copy public
    • split chunks

You can modify the output.publicPath configuration in webpack.config.prod.js to set the url prefix for static resources.

loaders

babel-loader
css-loader
file-loader
style-loader
url-loader
MiniCssExtractPlugin.loader

plugins

clean-webpack-plugin
copy-webpack-plugin
html-webpack-plugin
mini-css-extract-plugin

Happy coding!

1.3.0

4 years ago

1.2.6

4 years ago

1.2.5

4 years ago

1.2.4

4 years ago

1.2.3

4 years ago

1.2.2

4 years ago

1.2.1

4 years ago

1.0.0

4 years ago