Skip to content

Sample application with Webpack 3 configuration file enabled bundling [loader] for ES6 js and SCSS files while css gets written to a new file dynamically and running using webpack-dev-server.

Notifications You must be signed in to change notification settings

mythLabs/webPackBasics_V2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

webPackBasics_V2

   Sample application with Webpack 3 configuration file enabled bundling [loader] for ES6 js and SCSS files while css gets        written to a new file dynamically and running using webpack-dev-server. 

How to run

npm install

npm run build

npm run build:prod

dev-dependencies used

sass-loader //loading sass

node-sass //compiling sass

css-loader //loading css

extract-text-webpack-plugin //writing css to file

babel-core //convert es6

babel-loader //load es6

babel-preset-env //conversion rules preset

html-loader //loading html

html-webpack-plugin //displaying file

file-loader //loading file

About

Sample application with Webpack 3 configuration file enabled bundling [loader] for ES6 js and SCSS files while css gets written to a new file dynamically and running using webpack-dev-server.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published