Instagram Service update

This commit is contained in:
tmshv committed 2016-03-25 13:36:00 +03:00
1 parent 30c8c4f259
commit ec52ee2c2a
14 files changed
+120 -75

No files matched your search

+6 -3
View File
@@ -1,11 +1,14 @@
import webpack from'webpack';
import HtmlWebpackPlugin from 'html-webpack-plugin';
import HTML from 'html-webpack-plugin';
const env = process.env['NODE_ENV'] || 'production';
const isProduction = env === 'production';
// import autoprefixer from 'autoprefixer';
module.exports = {
entry: './src/app.js',
watch: true,
watch: !isProduction,
//resolve: {
// modulesDirectories: [
// './node_modules'
@@ -25,7 +28,7 @@ module.exports = {
// },
plugins: [
// new webpack.HotModuleReplacementPlugin(),
new HtmlWebpackPlugin({
new HTML({
filename: 'main.html',
title: 'Instagram',
template: 'src/templates/index.html',