Skip to content

Instantly share code, notes, and snippets.

@AsiehH
AsiehH / webpack.config.js
Created Mar 7, 2017 — forked from yukhnevych/webpack.config.js
Webpack 2 config file: Hot reloading, split css, generate HTML, split vendor files.
View webpack.config.js
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.