aboutsummaryrefslogtreecommitdiffstats
path: root/gui-editors/gui-editor-apex/src/main/resources/webapp/webpack.config.js
diff options
context:
space:
mode:
authorJim Hahn <jrh3@att.com>2020-09-08 17:17:12 +0000
committerGerrit Code Review <gerrit@onap.org>2020-09-08 17:17:12 +0000
commit02dae1dfb56aea5facb7700b4933d6b6710fdc16 (patch)
treedcd8ddc329653d5cd7951541ff7f782860fb0427 /gui-editors/gui-editor-apex/src/main/resources/webapp/webpack.config.js
parent4525ce37551a3bf55a65338d1d1e869c652f19ee (diff)
parent483f0f8457f8b10d426e8135ab66000d3a3ff7a9 (diff)
Merge "JavaScript tests for apex-editor"
Diffstat (limited to 'gui-editors/gui-editor-apex/src/main/resources/webapp/webpack.config.js')
-rw-r--r--gui-editors/gui-editor-apex/src/main/resources/webapp/webpack.config.js15
1 files changed, 15 insertions, 0 deletions
diff --git a/gui-editors/gui-editor-apex/src/main/resources/webapp/webpack.config.js b/gui-editors/gui-editor-apex/src/main/resources/webapp/webpack.config.js
new file mode 100644
index 0000000..9efbbc6
--- /dev/null
+++ b/gui-editors/gui-editor-apex/src/main/resources/webapp/webpack.config.js
@@ -0,0 +1,15 @@
+const path = require('path');
+
+module.exports = {
+ mode: 'production',
+ entry: './js/ApexMain.js',
+ output: {
+ filename: 'bundle.js',
+ path: path.resolve(__dirname, 'dist'),
+ },
+ devServer: {
+ contentBase: path.join(__dirname, 'dist'),
+ compress: true,
+ port: 9000
+ }
+}; \ No newline at end of file