diff options
-rw-r--r-- | webpack.js | 17 |
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 |