From 86e464682533e6d21f7f5c69dc091532df4c6dbc Mon Sep 17 00:00:00 2001 From: Anike Arni Date: Wed, 28 Dec 2016 19:02:50 -0200 Subject: Fixes offcanvas menu by moving foundation back to index.html --- web-ui/webpack.production.config.js | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) (limited to 'web-ui/webpack.production.config.js') diff --git a/web-ui/webpack.production.config.js b/web-ui/webpack.production.config.js index 36eb9396..b8531080 100644 --- a/web-ui/webpack.production.config.js +++ b/web-ui/webpack.production.config.js @@ -8,7 +8,7 @@ module.exports = { output: { path: path.join(__dirname, '/dist/'), filename: 'app.min.js', - publicPath: '/assets/js/' + publicPath: '/assets/' }, resolve: { alias: { @@ -105,6 +105,26 @@ module.exports = { context: 'app/', from: 'bower_components/iframe-resizer/js/iframeResizer.min.js', to: 'bower_components/iframe-resizer/js' + }, + { + context: 'app/', + from: 'bower_components/foundation/js/foundation.js', + to: 'bower_components/foundation/js' + }, + { + context: 'app/', + from: 'bower_components/foundation/js/foundation/foundation.reveal.js', + to: 'bower_components/foundation/js' + }, + { + context: 'app/', + from: 'bower_components/foundation/js/foundation/foundation.offcanvas.js', + to: 'bower_components/foundation/js' + }, + { + context: 'app/', + from: 'js/foundation/initialize_foundation.js', + to: 'js/foundation' } ]) ] -- cgit v1.2.3