Skip to content

Commit 278c1da

Browse files
committed
When I change a vue template in vue2 dev environment I get "Error: Multiple conflicting contents for sourcemap source" — according to this link I added needMap: false, to the vue rollup plugin, so I get the error but the page reloads now and it breaks sourcemaps for SFCs. vuejs/rollup-plugin-vue#238. Might be able to do better than this? Not sure.
1 parent d497c18 commit 278c1da

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

examples/vue2/rollup.config.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,9 @@ module.exports = {
1515
name: 'App',
1616
},
1717
plugins: [
18-
vue(),
18+
vue({
19+
needMap: false,
20+
}),
1921
replace({
2022
'process.env.NODE_ENV': JSON.stringify('development'),
2123
'process.env.VUE_ENV': JSON.stringify('browser')

0 commit comments

Comments
 (0)