summaryrefslogtreecommitdiff
path: root/web-ui/webpack.config.js
diff options
context:
space:
mode:
authorAnike Arni <aarni@thoughtworks.com>2016-12-28 15:10:46 -0200
committerAnike Arni <aarni@thoughtworks.com>2016-12-28 15:10:46 -0200
commit4120bb6063d277179a86a1b9cea6caae3aa676ba (patch)
tree0088aaec081f83e4a5eef41b5015ba907929a632 /web-ui/webpack.config.js
parent98de4c106a59b4c635ea9984d5f729c04413c71a (diff)
Bundles local files that were previously in script tags with webpack for optimization
Diffstat (limited to 'web-ui/webpack.config.js')
-rw-r--r--web-ui/webpack.config.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/web-ui/webpack.config.js b/web-ui/webpack.config.js
index e03f453a..7bacee4a 100644
--- a/web-ui/webpack.config.js
+++ b/web-ui/webpack.config.js
@@ -1,10 +1,12 @@
var path = require('path');
+var webpack = require('webpack');
var CopyWebpackPlugin = require('copy-webpack-plugin');
module.exports = {
entry: './app/js/index.js',
+ node: { fs: 'empty' },
output: {
- path: path.join(__dirname, '/dist/js/'),
+ path: path.join(__dirname, '/app/js/'),
filename: 'bundle.js',
publicPath: '/assets/js/'
},