Files
nextcloud-tables/webpack.js
Elizabeth Danzberger 8e462ad297 feat: added material design icon picker for contexts
Signed-off-by: Elizabeth Danzberger <lizzy7128@tutanota.de>
2024-03-27 15:54:05 +01:00

25 lines
536 B
JavaScript

const path = require('path')
const webpackConfig = require('@nextcloud/webpack-vue-config')
webpackConfig.entry = {
main: path.join(__dirname, 'src', 'main.js'),
files: path.join(__dirname, 'src', 'file-actions.js'),
reference: path.join(__dirname, 'src', 'reference.js'),
}
webpackConfig.module = {
rules: [
...webpackConfig.module.rules,
{
resourceQuery: /raw/,
type: 'asset/source',
}
]
}
webpackConfig.resolve.alias = {
MaterialIcons: path.resolve(__dirname, 'img/material'),
}
module.exports = webpackConfig