ns-webpack-init
v1.0.3
Published
Nuskin cli for starting new webpack modules
Downloads
3
Readme
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:
- Install more dependencies with 'npm install '
- Import those dependencies into your src/index.js file.
- Make a bundle with 'webpack'
- Try using it from index.html