summaryrefslogtreecommitdiffstats
path: root/apps/accessibility/webpack.js
diff options
context:
space:
mode:
authorJohn Molakvoæ <skjnldsv@users.noreply.github.com>2020-08-04 10:15:11 +0200
committerGitHub <noreply@github.com>2020-08-04 10:15:11 +0200
commit0ecef7d62ba72bc6bd6a6d0e32b9694373fe6c8e (patch)
treed413bc735061771cb2dd767abd6f61c709171085 /apps/accessibility/webpack.js
parentc124b485f123fb24cb1d305e5ea62cbb6ae077c9 (diff)
parentc1bfedab70f874f144cf1fe92cd14343333d0c96 (diff)
downloadnextcloud-server-0ecef7d62ba72bc6bd6a6d0e32b9694373fe6c8e.tar.gz
nextcloud-server-0ecef7d62ba72bc6bd6a6d0e32b9694373fe6c8e.zip
Merge pull request #22093 from nextcloud/fix/accessibilityoca
Fix missing accessibilityoca script
Diffstat (limited to 'apps/accessibility/webpack.js')
-rw-r--r--apps/accessibility/webpack.js11
1 files changed, 7 insertions, 4 deletions
diff --git a/apps/accessibility/webpack.js b/apps/accessibility/webpack.js
index 0d7b782f9d5..7fdf63b7fd4 100644
--- a/apps/accessibility/webpack.js
+++ b/apps/accessibility/webpack.js
@@ -1,11 +1,14 @@
const path = require('path')
module.exports = {
- entry: path.join(__dirname, 'src', 'main.js'),
+ entry: {
+ accessibility: path.join(__dirname, 'src', 'main.js'),
+ accessibilityoca: path.join(__dirname, 'src', 'accessibilityoca.js'),
+ },
output: {
path: path.resolve(__dirname, './js'),
publicPath: '/js/',
- filename: 'accessibility.js',
- jsonpFunction: 'webpackJsonpAccessibility'
- }
+ filename: '[name].js',
+ jsonpFunction: 'webpackJsonpAccessibility',
+ },
}