diff options
Diffstat (limited to 'gui-pdp-monitoring/src/webapp/webpack.config.js')
-rw-r--r-- | gui-pdp-monitoring/src/webapp/webpack.config.js | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/gui-pdp-monitoring/src/webapp/webpack.config.js b/gui-pdp-monitoring/src/webapp/webpack.config.js new file mode 100644 index 0000000..f387ebe --- /dev/null +++ b/gui-pdp-monitoring/src/webapp/webpack.config.js @@ -0,0 +1,15 @@ +const path = require('path'); + +module.exports = { + mode: 'production', + entry: './js/MonitoringMain.js', + output: { + filename: 'bundle.js', + path: path.resolve(__dirname, 'dist'), + }, + devServer: { + contentBase: path.join(__dirname, 'dist'), + compress: true, + port: 9000 + } +}; |