aboutsummaryrefslogtreecommitdiff
path: root/webpack.config.js
diff options
context:
space:
mode:
Diffstat (limited to 'webpack.config.js')
-rw-r--r--webpack.config.js11
1 files changed, 8 insertions, 3 deletions
diff --git a/webpack.config.js b/webpack.config.js
index 48f638c..98d96d0 100644
--- a/webpack.config.js
+++ b/webpack.config.js
@@ -1,7 +1,10 @@
module.exports = {
- entry: './webAO/ui.js',
+ entry: {
+ ui: './webAO/ui.js',
+ client: './webAO/client.js'
+ },
output: {
- filename: './webAO/ui.b.js'
+ filename: '[name].b.js'
},
module: {
rules: [
@@ -16,5 +19,7 @@ module.exports = {
}
}
]
- }
+ },
+
+ devtool: 'source-map'
} \ No newline at end of file