diff options
author | Georg Ehrke <developer@georgehrke.com> | 2020-06-02 12:48:37 +0200 |
---|---|---|
committer | Georg Ehrke <developer@georgehrke.com> | 2020-07-31 16:45:27 +0200 |
commit | 0fad921840eb801492522af6ef795231163cff20 (patch) | |
tree | ddab0d1567d81eeb8d956ec98196180ad296cabd /apps/user_status/webpack.js | |
parent | fce6df06e2bd1d68ee5614621ae7f92c6f7fa53d (diff) | |
download | nextcloud-server-0fad921840eb801492522af6ef795231163cff20.tar.gz nextcloud-server-0fad921840eb801492522af6ef795231163cff20.zip |
Add user-status app
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
Diffstat (limited to 'apps/user_status/webpack.js')
-rw-r--r-- | apps/user_status/webpack.js | 18 |
1 files changed, 18 insertions, 0 deletions
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: '-', + } + } +} |