webtransfer/webpack.js

18 lines
426 B
JavaScript
Raw Normal View History

2024-11-06 15:35:54 +01:00
const webpackConfig = require('@nextcloud/webpack-vue-config')
const ESLintPlugin = require('eslint-webpack-plugin')
const StyleLintPlugin = require('stylelint-webpack-plugin')
const path = require('path')
webpackConfig.entry = {
main: { import: path.join(__dirname, 'src', 'main.js'), filename: 'main.js' },
}
webpackConfig.module.rules.push({
test: /\.svg$/i,
type: 'asset/source',
})
2024-11-06 15:35:54 +01:00
module.exports = webpackConfig