summaryrefslogtreecommitdiffstats
path: root/webpack.js
diff options
context:
space:
mode:
authorDevlin Junker <devlin.junker@gmail.com>2022-11-09 22:28:16 -0800
committerBenjamin Brahmer <info@b-brahmer.de>2022-11-17 14:50:53 +0100
commit7753837f6cebfaac4cc0c9f8ac09810210e99a3f (patch)
tree222a46af64221774fd080844b04541c94be67c8b /webpack.js
parentc6b4bcc00e5202e85388a0624d149e8b1df386f8 (diff)
ensure admin settings page is working
Signed-off-by: Devlin Junker <devlin.junker@gmail.com>
Diffstat (limited to 'webpack.js')
-rw-r--r--webpack.js11
1 files changed, 8 insertions, 3 deletions
diff --git a/webpack.js b/webpack.js
index 4bdb0d02d..9b6a70a0b 100644
--- a/webpack.js
+++ b/webpack.js
@@ -1,4 +1,11 @@
const webpackConfig = require('@nextcloud/webpack-vue-config')
+const path = require('path')
+
+webpackConfig.entry['admin-settings'] = path.join(
+ __dirname,
+ 'src',
+ 'main-admin.js',
+)
// Add TS Loader for processing typescript in vue templates
webpackConfig.module.rules.push({
@@ -9,9 +16,7 @@ webpackConfig.module.rules.push({
loader: 'ts-loader',
options: {
transpileOnly: true,
- appendTsSuffixTo: [
- '\\.vue$',
- ],
+ appendTsSuffixTo: ['\\.vue$'],
},
},
],