项目作者: gustafguner

项目描述 :
A basic webpack 4 boilerplate with features such as Babel, Sass and Autoprefixer
高级语言: JavaScript
项目地址: git://github.com/gustafguner/webpack-boilerplate.git
创建时间: 2018-08-14T06:33:46Z
项目社区:https://github.com/gustafguner/webpack-boilerplate

开源协议:MIT License

下载


Webpack 4 Boilerplate

A basic webpack 4 boilerplate.

Requirements

node.js

Setup

  1. Clone this repository.
  2. Install the dependencies.

    1. $ npm install

Using webpack-dev-server

  1. Start the local webpack-dev-server.
  1. $ npm run serve
  1. Navigate to http://localhost:3000.

Building

When building, your code will be bundled and outputed to /dist.

Building for development

  1. $ npm run build

Building for production

  1. $ npm run build:prod

Features