diff options
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: '-', + } + } +} |