From 0fad921840eb801492522af6ef795231163cff20 Mon Sep 17 00:00:00 2001 From: Georg Ehrke Date: Tue, 2 Jun 2020 12:48:37 +0200 Subject: Add user-status app Signed-off-by: Georg Ehrke --- apps/user_status/webpack.js | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 apps/user_status/webpack.js (limited to 'apps/user_status/webpack.js') diff --git a/apps/user_status/webpack.js b/apps/user_status/webpack.js new file mode 100644 index 00000000000..b3a9b4f312d --- /dev/null +++ b/apps/user_status/webpack.js @@ -0,0 +1,18 @@ +const path = require('path') + +module.exports = { + entry: { + 'user-status-menu': path.join(__dirname, 'src', 'main-user-status-menu') + }, + output: { + path: path.resolve(__dirname, './js'), + publicPath: '/js/', + filename: '[name].js?v=[chunkhash]', + jsonpFunction: 'webpackJsonpUserStatus' + }, + optimization: { + splitChunks: { + automaticNameDelimiter: '-', + } + } +} -- cgit v1.2.3