new-webpack-app

1.1.4 • Public • Published

new-webpack-app

🚀 Easily create webpack application in one command.

npm version npm total downloads Codacy Badge

Installation

Install package new-webpack-app globally

npm install -g new-webpack-app

Usage

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 information

You can specify custom JSX pragma for some frameworks. Example:

new-webpack-app -j jsx.parse testapp

You can add webpack bundle analyzer to your app. In this case bundle analyzer will start on event dev server launch.

Example

new-webpack-app testapp

This 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

Readme

Keywords

none

Package Sidebar

Install

npm i new-webpack-app

Weekly Downloads

0

Version

1.1.4

License

MIT

Unpacked Size

7.97 kB

Total Files

3

Last publish

Collaborators

  • unkrush