All Projects → mwieth → Webpack-4-boilerplate

mwieth / Webpack-4-boilerplate

Licence: MIT License
🚀 Webpack 4 with ES6+ and SASS,LESS/STYLUS support + dev-server and livereload

Programming Languages

javascript
184084 projects - #8 most used programming language
HTML
75241 projects
SCSS
7915 projects

Projects that are alternatives of or similar to Webpack-4-boilerplate

Webpack.js.org
Repository for webpack documentation and more!
Stars: ✭ 2,049 (+3625.45%)
Mutual labels:  bundler, webpack-loader, webpack4
React Webpack4 Cook
💯The most powerful webpack4 tutorial in the universe
Stars: ✭ 152 (+176.36%)
Mutual labels:  webpack-loader, webpack4
Awesome Cms Core
Awesome CMS Core is an open source CMS built using ASP.Net Core & ReactJS with module seperation concern in mind and provide lastest trend of technology like .Net Core, React, Webpack, SASS, Background Job, Message Queue.
Stars: ✭ 352 (+540%)
Mutual labels:  webpack-loader, webpack4
webpack-demos
webpack小练习
Stars: ✭ 17 (-69.09%)
Mutual labels:  webpack-loader, webpack4
slim-lang-loader
Webpack loader: slim => html => javascript
Stars: ✭ 20 (-63.64%)
Mutual labels:  webpack-loader
rr-boilerplate
A lightweight React&Redux boilerplate
Stars: ✭ 35 (-36.36%)
Mutual labels:  webpack4
webpack-demo
Introduction to Webpack 4
Stars: ✭ 26 (-52.73%)
Mutual labels:  webpack4
website
Documentation for the SWC project.
Stars: ✭ 53 (-3.64%)
Mutual labels:  bundler
react-boilerplate
minimalize modern react boilerplate created using webpack 4 include technology pwa and include popular tools for react developer
Stars: ✭ 18 (-67.27%)
Mutual labels:  webpack4
exif-loader
Extract EXIF- & IPTC-data from your JPGs during build-time.
Stars: ✭ 14 (-74.55%)
Mutual labels:  webpack-loader
monopack
A JavaScript bundler for node.js monorepo-codebased applications.
Stars: ✭ 52 (-5.45%)
Mutual labels:  bundler
standard-loader
webpack loader for linting your code with https://github.com/feross/standard
Stars: ✭ 66 (+20%)
Mutual labels:  webpack-loader
vue-startup
A template with webpack 4 + vuejs 2 + + babel 7 setup for projects startup
Stars: ✭ 44 (-20%)
Mutual labels:  webpack4
ng2-fused
FuseBox plugins and utilities for building Angular2 applications.
Stars: ✭ 13 (-76.36%)
Mutual labels:  bundler
polymerx-cli
⚡ Unlock the power of Polymer 3, Web Components and modern web tools.
Stars: ✭ 30 (-45.45%)
Mutual labels:  webpack4
frontend-boilerplate
Boilerplate for static site
Stars: ✭ 16 (-70.91%)
Mutual labels:  webpack4
phaser-typescript-webpack
Another Phaser CE boilerplate using TypeScript and Webpack.
Stars: ✭ 17 (-69.09%)
Mutual labels:  webpack4
antd-color-replacer
适用于 webpack 环境下 的 主题切换插件
Stars: ✭ 22 (-60%)
Mutual labels:  webpack4
yaml-frontmatter-loader
[DEPRECATED] Yaml frontmatter loader
Stars: ✭ 12 (-78.18%)
Mutual labels:  webpack-loader
Webpack-Starter-Kit
Webpack 4 stater kit with SCSS, PostCSS, Babel & ESLint
Stars: ✭ 41 (-25.45%)
Mutual labels:  webpack4

Webpack 4 Boilerplate ES6/Sass with build-in option to change preprocessor (less/stylus)

License MIT

This Webpack 4 Boilerplate comes with 2 builds:

npm run build:dev

-> starts dev server on localhost:8080 with livereload, sourcemap

npm run build:prod

-> creates prod files to /dist with:

  1. compiles sass/stylus/less to css
  2. autoprefixer for vendor prefixes (browser compability)
  3. compiles ES6+ to ES5
  4. minifying for css/js
  5. uglyfing js code
  6. hash css and js file (file versioning for browser caching -> cache busting)

Setup

git clone https://github.com/mwieth/Webpack-4-boilerplate.git
cd Webpack-4-boilerplate
npm install
//start dev mode
npm run build:dev

Preprocessor support (default: Sass)

--> if u want to change to less run:

  1. npm install less less-loader --save-dev

  2. npm uninstall node-sass sass-loader

  3. set selectedPreprocessor in \webpack\loader.js to less

  4. change default files in styles from sass to less (*.less) and update import in index.js line 1

--> if u want to change to stylus run:

  1. npm install stylus stylus-loader --save-dev

  2. npm uninstall node-sass sass-loader

  3. set selectedPreprocessor in \webpack\loader.js to stylus

  4. change default files in styles from sass to stylus (*.styl) update import in index.js line 1

--> if u want to use the 'original' loose _.sass syntax just change the files from _.scss to _.sass and update the import in index.js line 1

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].