diff options
author | Jim Hahn <jrh3@att.com> | 2020-09-08 17:17:12 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2020-09-08 17:17:12 +0000 |
commit | 02dae1dfb56aea5facb7700b4933d6b6710fdc16 (patch) | |
tree | dcd8ddc329653d5cd7951541ff7f782860fb0427 /gui-editors/gui-editor-apex/src/main/resources/webapp/webpack.config.js | |
parent | 4525ce37551a3bf55a65338d1d1e869c652f19ee (diff) | |
parent | 483f0f8457f8b10d426e8135ab66000d3a3ff7a9 (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.js | 15 |
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 |