This is the boilerplate for WordPress, Javascript and Scss
- Easy to use
- Create package after production build
It requires Node.js and NPM
git clone https://github.com/skuppuraj/webpack-boiler-plate-js-sass.git
cd webpack-boiler-plate-js-sass
npm install
After successfully installed all required packages Start the WebPack for Development
npm run watch
For production
npm run production
Note: Production command will create the minified files in
assets/dist/js
andassets/dist/css
folders.
Also, this will create production zip file dist/app-pacakge[version].zip
with all the files from the root directory