1.0.3 • Published 8 years ago
ns-webpack-init v1.0.3
Nuskin Webpack Init
This is a Nuskin command line interface for easy setup of webpack javascript modules.
Installation
$ npm install -g ns-webpack-init
Name your module
>ns-webpack-init create <moduleName>
Example:
>ns-webpack-init create account
This will create a folder under your current directory named 'account'. cd into that folder and do:
>npm install
This will install all of the necessary libraries you need to do ES6 module compiling
After that you can: 1. Install more dependencies with 'npm install ' 2. Import those dependencies into your src/index.js file. 3. Make a bundle with 'webpack' 4. Try using it from index.html