This is a vanilall js boilerplate configured wtih webpack. It can be used to develop any vanilla js project and build a production ready minified code. It will work with CSS, Sass, PostCss
It was a webpack learing project mainly. I tried to apply all the knowledges and techniques i found on internet. I started with webpack documentation tutorial and added different plugins as my need. I have taken a lot of concepts from various content.
- Clone the repository
- Change directory to the root folder
In the project directory, you can run:
This will install all the necessary packages for development
Runs the app in the development mode.
Open http://localhost:8000 to view it in the browser.
The page will reload if you make edits. The entry file is index.js. You can start adding more codes in respected folders and import them.
Builds the app for production to the dist folder.
You can view the prodction build using any server. Use serve to see the production
This will install serve globally
Can see the production build at http://localhost:3000