2021-10-20 10:59:54 +03:00
|
|
|
const path = require('path')
|
|
|
|
|
|
|
|
const webpackConfig = require('@nextcloud/webpack-vue-config')
|
2024-01-03 14:27:06 +03:00
|
|
|
const webpackRules = require('@nextcloud/webpack-vue-config/rules')
|
|
|
|
|
|
|
|
webpackRules.RULE_RAW_SVGS = {
|
|
|
|
test: /\.svg$/,
|
|
|
|
type: 'asset/source',
|
|
|
|
}
|
|
|
|
|
|
|
|
webpackConfig.module.rules = Object.values(webpackRules)
|
2021-10-20 10:59:54 +03:00
|
|
|
|
|
|
|
webpackConfig.entry = {
|
|
|
|
adminSettings: path.join(__dirname, 'src', 'adminSettings.js'),
|
2023-01-19 14:27:32 +03:00
|
|
|
filesAction: path.join(__dirname, 'src', 'filesAction.js'),
|
2021-10-20 10:59:54 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
module.exports = webpackConfig
|