Skip to content

Instantly share code, notes, and snippets.

@AsiehH
AsiehH / webpack.config.js
Created March 7, 2017 13:31 — forked from yukhnevych/webpack.config.js
Webpack 2 config file: Hot reloading, split css, generate HTML, split vendor files.
const webpack = require('webpack');
const path = require('path');
const ExtractTextPlugin = require('extract-text-webpack-plugin');
const BrowserSyncPlugin = require('browser-sync-webpack-plugin');
const HtmlWebpackPlugin = require('html-webpack-plugin');
module.exports = {
// Path to project entry points.
entry: {
// replace it with your project related path.