Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/micooz/es6-webpack2-starter

:rocket: A template project for es6/7, webpack2/3, sass and postcss
https://github.com/micooz/es6-webpack2-starter

cssmodules es6 es7 sass starter template webpack webpack2 webpack3

Last synced: about 15 hours ago
JSON representation

:rocket: A template project for es6/7, webpack2/3, sass and postcss

Awesome Lists containing this project

README

        

# es6-webpack2-starter

[![npm](https://img.shields.io/npm/v/es6-webpack2-starter.svg?maxAge=2592000?style=flat-square)](https://www.npmjs.com/package/es6-webpack2-starter)
[![npm](https://img.shields.io/npm/l/es6-webpack2-starter.svg?maxAge=2592000?style=flat-square)](https://github.com/micooz/es6-webpack2-starter/blob/master/LICENSE)
[![David](https://img.shields.io/david/micooz/es6-webpack2-starter.svg?maxAge=2592000?style=flat-square)]()
[![David](https://img.shields.io/david/dev/micooz/es6-webpack2-starter.svg?maxAge=2592000?style=flat-square)]()
[![%e2%9d%a4](https://img.shields.io/badge/made%20with-%e2%9d%a4-ff69b4.svg?style=flat-square)](https://apporz.com)

> A template project for ECMAScript(latest), webpack3, sass and postcss.

## Features

* es6: by babel and it's presets and plugins
* css module: by css-loader
* sass: by sass-loader
* webpack3 provides faster compilation
* auto-reload by webpack-dev-server

## Installation

$ npm install
# or
$ yarn install

## Configuration

1. Copy then rename `env.example.js` to `env.js` if it is not done automatically by `postinstall`.

You can custom your local environment via `env.js`, so that it does not affect others.

## Run in development

$ npm start

## Build for production

$ npm run build

This will generator minified css and scripts to `dist/`.

## Proxy

You can change your proxy rules in `proxy/rules`.

## Need Help?

Ask questions [here](https://github.com/micooz/es6-webpack2-starter/issues).

## Any advise?

PR welcome [here](https://github.com/micooz/es6-webpack2-starter/pulls).

## Contributors

Micooz

## License

MIT