summaryrefslogtreecommitdiffstats
path: root/webpack.js
diff options
context:
space:
mode:
authorRichard Steinmetz <richard@steinmetz.cloud>2022-01-07 11:02:44 +0100
committerRichard Steinmetz <richard@steinmetz.cloud>2022-01-07 11:02:44 +0100
commit62a6c5527badee73fa34b42579114e9f8a07f158 (patch)
tree61311b9c7ed101da33fe087dcf98c20244404b5c /webpack.js
parent782b787010b5e4d247fe5cb3da46e82eb14b3495 (diff)
Improve support for development on windows
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
Diffstat (limited to 'webpack.js')
-rw-r--r--webpack.js19
1 files changed, 0 insertions, 19 deletions
diff --git a/webpack.js b/webpack.js
deleted file mode 100644
index bb046c5e..00000000
--- a/webpack.js
+++ /dev/null
@@ -1,19 +0,0 @@
-const path = require('path')
-const webpack = require('webpack')
-const webpackConfig = require('@nextcloud/webpack-vue-config')
-
-webpackConfig.entry['files-action'] = path.join(__dirname, 'src', 'files-action.js')
-webpackConfig.entry['admin-settings'] = path.join(__dirname, 'src', 'admin-settings.js')
-webpackConfig.plugins.push(...[
- new webpack.IgnorePlugin(/^\.\/locale$/, /moment$/),
-])
-
-webpackConfig.module.rules.push({
- test: /\.tsx?$/,
- use: 'ts-loader',
- exclude: /node_modules/,
-})
-
-webpackConfig.resolve.extensions = ['.js', '.vue', '.ts', '.tsx']
-
-module.exports = webpackConfig