mirror of
https://github.com/nextcloud/tables.git
synced 2025-08-18 08:19:08 +00:00
25 lines
536 B
JavaScript
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
|