Skip to content

HTML with Webpack, Also it can be used in others CMS and Static Project

Notifications You must be signed in to change notification settings

KapilG93/html-webpack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Webpack

Webpack is a module bundler. Its main purpose is to bundle JavaScript files for usage in a browser, yet it is also capable of transforming, bundling, or packaging just about any resource or asset.

Install

Install with npm: Follow the below steps to install Bootstrap and Jquery Dependencies

npm i --save-dev webpack webpack-cli webpack-dev-server
npm i --save bootstrap @popperjs/core
npm i --save-dev autoprefixer css-loader postcss-loader sass sass-loader style-loader
npm install --save jquery

Note

Once Above given four commands are added, then need to start the project with NPM Scripts

With NPM Scripts

NPM package.json scripts are a convenient and useful means to run locally installed binaries without having to be concerned about their full paths. Simply Already define a script in Package.json file

Run the Below Command to Start the project, this command will watch your file whatever you make the changes and it will save the changes in output folder


To Run the Project

npm run watch

To Make the Project as Production

npm run production

To Make the Project as Build, as Optimization file

npm run build
Contributing

We welcome your contributions!

Attribution

This project is heavily inspired by Kapil Goshaliya.

About

HTML with Webpack, Also it can be used in others CMS and Static Project

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages