From 4120bb6063d277179a86a1b9cea6caae3aa676ba Mon Sep 17 00:00:00 2001 From: Anike Arni Date: Wed, 28 Dec 2016 15:10:46 -0200 Subject: Bundles local files that were previously in script tags with webpack for optimization --- web-ui/webpack.config.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'web-ui/webpack.config.js') 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/' }, -- cgit v1.2.3