Skip to content

Commit 2f1490d

Browse files
authored
fix(rollup): fix option to avoid warning (ItalyPaleAle#207)
1 parent be73586 commit 2f1490d

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

examples/basic-routing/rollup.config.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,9 @@ export default {
1515
plugins: [
1616
svelte({
1717
// enable run-time checks when not in production
18-
dev: true,
18+
compilerOptions: {
19+
dev: true,
20+
},
1921
}),
2022
// we'll extract any component CSS out into
2123
// a separate file better for performance

examples/dynamic-imports/rollup.config.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,9 @@ export default {
1515
plugins: [
1616
svelte({
1717
// enable run-time checks when not in production
18-
dev: true,
18+
compilerOptions: {
19+
dev: true,
20+
},
1921
}),
2022
// we'll extract any component CSS out into
2123
// a separate file better for performance

0 commit comments

Comments
 (0)