Skip to content

Creating a Webpack boilerplate for an HTML, SCSS, and JS project involves configuring Webpack to bundle your SCSS and JS files, and generating an HTML file to include your styles and scripts.

Notifications You must be signed in to change notification settings

kanishkasubash/webpack-boilerplate

Repository files navigation

Webpack Boilerplate

Creating a Webpack boilerplate for an HTML, SCSS, and JS project involves configuring Webpack to bundle your SCSS and JS files, and generating an HTML file to include your styles and scripts.

Prerequisites:

Before you start, make sure you have Node.js and npm (Node Package Manager) installed on your system.

Build and Run

Now you can build and run your project using the following commands:

  • Development (with live reload):

    npm start
  • Production (optimized):

    npm run build

Your compiled and bundled HTML, CSS, and JS files will be placed in a dist directory in your project's root. You can open the index.html file in your browser to see your project in action.

This is a basic boilerplate to get you started. You can further customize and expand your project by adding more loaders, plugins, and configurations to suit your specific needs.

About

Creating a Webpack boilerplate for an HTML, SCSS, and JS project involves configuring Webpack to bundle your SCSS and JS files, and generating an HTML file to include your styles and scripts.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published