Skip to content

webpack config fun - sass loaders, minification, unnecessary use of regex, multiple html files and entry points

Notifications You must be signed in to change notification settings

1stBoltCrux/webpack-component-config

Repository files navigation

Folder & File Structure for Webpack -

Create simple components in the 'components' directory.

Make sure to have an index.html and an index.js!

Webpack is configured to minify css/scss and js.

Commands

npm run build - builds components to dist/components - each one having their own template/css/js files

npm run start - starts webpack-dev-server on port 9000 - example: localhost:9000/components/

About

webpack config fun - sass loaders, minification, unnecessary use of regex, multiple html files and entry points

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages