aboutsummaryrefslogtreecommitdiff
path: root/webpack.config.js
diff options
context:
space:
mode:
Diffstat (limited to 'webpack.config.js')
-rw-r--r--webpack.config.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/webpack.config.js b/webpack.config.js
index 5c8b1de..aa52deb 100644
--- a/webpack.config.js
+++ b/webpack.config.js
@@ -17,6 +17,7 @@ module.exports = {
client: './webAO/client.js',
master: './webAO/master.js',
dom: glob.sync('./webAO/dom/*.js'),
+ components: glob.sync('./webAO/components/*.js')
},
node: {
global: true,
@@ -86,7 +87,7 @@ module.exports = {
new HtmlWebpackPlugin({
title: 'Attorney Online',
filename: 'client.html',
- chunks: ['client', 'ui', 'dom'],
+ chunks: ['client', 'ui', 'dom', 'components'],
template: 'public/client.html',
}),
new webpack.DefinePlugin({