expose global "app" object

This commit is contained in:
Henning Jacobs
2016-12-20 19:08:18 +01:00
parent 60784ceb4f
commit 63b6f63538
7 changed files with 92 additions and 85 deletions

View File

@@ -13,6 +13,7 @@ module.exports = {
target : 'web',
devtool : DEBUG ? 'inline-source-map' : false,
output: {
library: 'App',
path: path.resolve(pkg.config.buildDir),
publicPath: DEBUG ? "/" : "./",
filename: DEBUG ? 'app.js' : 'app-[hash].js'