Skip to content
This repository was archived by the owner on Apr 11, 2019. It is now read-only.

Commit 22b3c6d

Browse files
committed
Merge branch 'production-ssr-fix' of https://github.com/daan-nguyen/scalable-react-boilerplate into production-ssr-fix
2 parents 23e12bf + c374061 commit 22b3c6d

File tree

2 files changed

+0
-48
lines changed

2 files changed

+0
-48
lines changed

config/templates/_index.prod.html

Lines changed: 0 additions & 31 deletions
This file was deleted.

webpack.config.prod.js

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
/* eslint-disable */
22
const webpack = require('webpack');
33
const path = require('path');
4-
const HtmlwebpackPlugin = require('html-webpack-plugin');
54
const ExtractTextPlugin = require('extract-text-webpack-plugin');
65
const OfflinePlugin = require('offline-plugin');
76
const autoprefixer = require('autoprefixer');
@@ -143,22 +142,6 @@ module.exports = {
143142
safeToUseOptionalCaches: true,
144143
AppCache: false,
145144
}),
146-
new HtmlwebpackPlugin({
147-
template: 'config/templates/_index.prod.html',
148-
minify: {
149-
removeComments: true,
150-
collapseWhitespace: true,
151-
removeRedundantAttributes: true,
152-
useShortDoctype: true,
153-
removeEmptyAttributes: true,
154-
removeStyleLinkTypeAttributes: true,
155-
keepClosingSlash: true,
156-
minifyJS: true,
157-
minifyCSS: true,
158-
minifyURLs: true,
159-
},
160-
inject: true,
161-
}),
162145
new webpack.DefinePlugin({
163146
'process.env.NODE_ENV': JSON.stringify(process.env.NODE_ENV || 'production')
164147
}),

0 commit comments

Comments
 (0)