Skip to content

Commit afe8319

Browse files
committed
fix(build): disable devtool to prevent source map conflict
@nextcloud/webpack-vue-config 6.0.1 → 6.3.2 (bumped in 8ea7ae2) sets devtool: 'source-map', which conflicts with the explicit SourceMapDevToolPlugin. webpack 5 treats duplicate asset output as an error, breaking the build. Signed-off-by: Kai Henseler <kai.henseler@strato.de>
1 parent e74c379 commit afe8319

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

webpack.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,8 @@ webpackConfig.module.rules.push({
4949
type: 'asset/source',
5050
})
5151

52+
webpackConfig.devtool = false
53+
5254
webpackConfig.plugins.push(new webpack.SourceMapDevToolPlugin({
5355
filename: '[file].map',
5456
}))

0 commit comments

Comments
 (0)