new-webpack-app
v1.1.4
Published
Create webpack project in one command
Downloads
46
Readme
new-webpack-app
🚀 Easily create webpack application in one command.
Installation
Install package new-webpack-app globally
npm install -g new-webpack-appUsage
new-webpack-app [options] <project>
Options:
-j, --jsx <pragma> Use JSX in project with pragma specified. Default is h()
-b, --bundle-analyzer Include webpack bundle analyzer in project
-h, --help output usage informationYou can specify custom JSX pragma for some frameworks. Example:
new-webpack-app -j jsx.parse testappYou can add webpack bundle analyzer to your app. In this case bundle analyzer will start on event dev server launch.
Example
new-webpack-app testappThis command will create new folder called testapp with initial structure of project and install all dependencies.
testapp
├── .babelrc
├── package.json
├── package-lock.json
├── tsconfig.json
├── webpack.config.dev.js
├── webpack.config.prod.js
├── node_modules
├── build
│ └── index.html
└── src
└── index.js