summaryrefslogtreecommitdiff
path: root/web-ui/webpack.production.config.js
diff options
context:
space:
mode:
authorAnike Arni <aarni@thoughtworks.com>2016-12-28 19:02:50 -0200
committerAnike Arni <aarni@thoughtworks.com>2016-12-28 19:02:50 -0200
commit86e464682533e6d21f7f5c69dc091532df4c6dbc (patch)
treea5c078ce186e562426fdbe2f759c94cdffb8360b /web-ui/webpack.production.config.js
parentd4204cfec82e847deba47a8fd95df64c7b342578 (diff)
Fixes offcanvas menu by moving foundation back to index.html
Diffstat (limited to 'web-ui/webpack.production.config.js')
-rw-r--r--web-ui/webpack.production.config.js22
1 files changed, 21 insertions, 1 deletions
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'
}
])
]