projects
/
osm
/
UI.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Bug 366: Filter out rift ro from back-end results
[osm/UI.git]
/
skyquake
/
plugins
/
about
/
webpack.production.config.js
diff --git
a/skyquake/plugins/about/webpack.production.config.js
b/skyquake/plugins/about/webpack.production.config.js
index
4a2aa12
..
a2fa842
100644
(file)
--- a/
skyquake/plugins/about/webpack.production.config.js
+++ b/
skyquake/plugins/about/webpack.production.config.js
@@
-27,6
+27,7
@@
var CompressionPlugin = require("compression-webpack-plugin");
// Added to overcome node-sass bug https://github.com/iam4x/isomorphic-flux-boilerplate/issues/62
process.env.UV_THREADPOOL_SIZE=64;
// Added to overcome node-sass bug https://github.com/iam4x/isomorphic-flux-boilerplate/issues/62
process.env.UV_THREADPOOL_SIZE=64;
+var htmlFilename = (process.argv.indexOf('--production-debug') !== -1) ? 'debug.html' : 'index.html';
var config = {
devtool: 'source-map',
entry: mainPath,
var config = {
devtool: 'source-map',
entry: mainPath,
@@
-67,8
+68,8
@@
var config = {
},
plugins: [
new HtmlWebpackPlugin({
},
plugins: [
new HtmlWebpackPlugin({
- filename: '../
index.html'
,
- template
Content: '<div id="app"></div>
'
+ filename: '../
' + htmlFilename
,
+ template
: frameworkPath + '/plugin-index.html
'
})
]
};
})
]
};