Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/mail.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2019-10-23 10:32:31 +0300
committerChristoph Wurst <christoph@winzerhof-wurst.at>2019-10-23 11:01:52 +0300
commit8352ecc1f32b7d6d728457b39319e6a07986984f (patch)
treee6edfaeb49fa75e4b81e2065dc6cfc450b80abef /webpack.common.js
parent0de99acd68c40c86d90d9b2450f0f9eadc0ff87e (diff)
Webpackify and ESify the autoredirect script
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'webpack.common.js')
-rw-r--r--webpack.common.js6
1 files changed, 4 insertions, 2 deletions
diff --git a/webpack.common.js b/webpack.common.js
index e9286ca90..092d12497 100644
--- a/webpack.common.js
+++ b/webpack.common.js
@@ -18,12 +18,14 @@ if (process.env.BUNDLE_ANALYZER_TOKEN) {
}
module.exports = {
- entry: path.join(__dirname, 'src/main.js'),
+ entry: {
+ autoredirect: path.join(__dirname, 'src/autoredirect.js'),
+ mail: path.join(__dirname, 'src/main.js')
+ },
output: {
path: path.resolve(__dirname, 'js'),
chunkFilename: 'mail.[name].[contenthash].js',
publicPath: '/js/',
- filename: 'mail.js'
},
node: {
fs: 'empty'