Skip to content

πŸ— A starter kit workflow using Webpack, PUG, SASS, PostCSS & Babel

Notifications You must be signed in to change notification settings

erwinfrias/webpack-starter-kit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

18 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Webpack Starter Kit

node npm MIT License GitHub contributors GitHub package.json version

This Webpack starter kit comes with several tools and opinionated choices for your front-end development projects.

Its main purpose is to bundle JavaScript files for usage in a browser.

FontCDN mockup

A starter kit workflow using Webpack, PUG, SASS, PostCSS & Babel.

βš™οΈ Installation

Clone the repository and substitute my-project for your real project name.

 git clone https://github.com/erwcode/webpack-starter-kit.git my-project

Once repository has been cloned, open its location from the terminal and install the npm dependencies.

 npm install

🚧 How is it work?

By setting the mode parameter to either development, production, you can enable webpack's built-in optimizations that correspond to each environment.

  • npm run dev - build in development mode
  • npm run build - build in production mode

Also, you can use webpack with a development server that provides live reloading. This should be used for development only.

  • npm start - build and watch changes

🌳 Directory Tree

πŸ“¦webpack-starter-kit
β”œβ”€ πŸ“‚src
β”‚  β”œβ”€ πŸ“‚fonts
β”‚  β”‚  └─ Averta.woff
β”‚  β”œβ”€ πŸ“‚images
β”‚  β”‚  β”œβ”€ babel.svg
β”‚  β”‚  β”œβ”€ favicon.png
β”‚  β”‚  β”œβ”€ isotipo.svg
β”‚  β”‚  β”œβ”€ mockup.png
β”‚  β”‚  β”œβ”€ postcss.svg
β”‚  β”‚  β”œβ”€ pug.svg
β”‚  β”‚  β”œβ”€ sass.svg
β”‚  β”‚  └─ webpack.svg
β”‚  β”œβ”€ πŸ“‚pug
β”‚  β”‚  β”œβ”€ πŸ“‚includes
β”‚  β”‚  β”‚  └─ logo.pug
β”‚  β”‚  β”œβ”€ πŸ“‚pages
β”‚  β”‚  β”‚  └─ index.pug
β”‚  β”‚  └─ template.pug
β”‚  β”œβ”€ πŸ“‚scss
β”‚  β”‚  β”œβ”€ πŸ“‚base
β”‚  β”‚  β”‚  └─ _reset.scss
β”‚  β”‚  β”œβ”€ πŸ“‚components
β”‚  β”‚  β”‚  └─ _logo.scss
β”‚  β”‚  β”œβ”€ πŸ“‚layout
β”‚  β”‚  β”‚  └─ _l-container.scss
β”‚  β”‚  β”œβ”€ πŸ“‚settings
β”‚  β”‚  β”‚  β”œβ”€ _fonts.scss
β”‚  β”‚  β”‚  β”œβ”€ _mixins.scss
β”‚  β”‚  β”‚  └─ _variables.scss
β”‚  β”‚  β”œβ”€ πŸ“‚state
β”‚  β”‚  β”‚  └─ _is-active.scss
β”‚  β”‚  β”œβ”€ πŸ“‚theme
β”‚  β”‚  β”‚  └─ _dark.scss
β”‚  β”‚  └─ main.scss
β”‚  └─ index.js
β”œβ”€ .babelrc
β”œβ”€ .editorconfig
β”œβ”€ .gitignore
β”œβ”€ LICENSE
β”œβ”€ README.md
β”œβ”€ package-lock.json
β”œβ”€ package.json
β”œβ”€ postcss.config.js
└─ webpack.config.js

🍻 Contributors

Name Role
Erwin Alan FrΓ­as MartΓ­nez Front-End Developer

βš–οΈ Copyright and License

Made with πŸ’– by ErwCode Technologies.

About

πŸ— A starter kit workflow using Webpack, PUG, SASS, PostCSS & Babel

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages