summaryrefslogtreecommitdiffstats
path: root/webpack.js
diff options
context:
space:
mode:
Diffstat (limited to 'webpack.js')
-rw-r--r--webpack.js17
1 files changed, 16 insertions, 1 deletions
diff --git a/webpack.js b/webpack.js
index e5daa927a..9d24f2d29 100644
--- a/webpack.js
+++ b/webpack.js
@@ -1,3 +1,18 @@
+const { merge } = require('webpack-merge')
+const webpack = require('webpack')
const webpackConfig = require('@nextcloud/webpack-vue-config')
-module.exports = webpackConfig
+const config = {
+ module: {
+ rules: [
+ {
+ test: /\.(jpg|png|svg)$/,
+ use: {
+ loader: 'url-loader',
+ },
+ }
+ ],
+ },
+}
+
+module.exports = merge(config, webpackConfig) \ No newline at end of file