Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@ api/logs/*
dist/
dump.rdb
node_modules/
node_modules
npm-debug.log
npm-debug.log*
pids/
static/logos/*.*
storage/*.*
Expand Down
3 changes: 3 additions & 0 deletions lib/tools/getWebpackConfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ const AssetsPlugin = require('assets-webpack-plugin');
const StatsPlugin = require('stats-webpack-plugin');
const CopyPlugin = require('copy-webpack-plugin');
const nodeExternals = require('webpack-node-externals');
const HardSourceWebpackPlugin = require('hard-source-webpack-plugin');

// Common configuration chunk to be used for both
// client-side and server-side bundles
Expand Down Expand Up @@ -148,6 +149,8 @@ function getWebpackConfig(args) {
},

plugins: [
new HardSourceWebpackPlugin(),
new webpack.optimize.ModuleConcatenationPlugin(),
// Emit a file with assets paths
// https://github.com/sporto/assets-webpack-plugin#options
new AssetsPlugin({
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@
"file-loader": "^0.8.5",
"file-stream-rotator": "^0.0.6",
"git-rev": "^0.2.1",
"hard-source-webpack-plugin": "^0.5.15",
"helmet": "^2.1.1",
"highland": "^2.8.1",
"hoist-non-react-statics": "^1.0.3",
Expand Down Expand Up @@ -232,7 +233,7 @@
"velocity-react": "1.1.4",
"victory": "^0.12.1",
"warning": "^2.1.0",
"webpack": "^2.2.1",
"webpack": "^3.10",
"webpack-dev-middleware": "^1.10.1",
"webpack-node-externals": "^1.5.4",
"winston": "^2.1.1",
Expand Down
Loading