From 2f1490dba77a25b4176660ff8178ce9638b5d36d Mon Sep 17 00:00:00 2001 From: Dapeng Gong Date: Wed, 16 Jun 2021 12:19:59 +0800 Subject: [PATCH] fix(rollup): fix option to avoid warning (#207) --- examples/basic-routing/rollup.config.js | 4 +++- examples/dynamic-imports/rollup.config.js | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/examples/basic-routing/rollup.config.js b/examples/basic-routing/rollup.config.js index a7ce327..2e6d6e2 100755 --- a/examples/basic-routing/rollup.config.js +++ b/examples/basic-routing/rollup.config.js @@ -15,7 +15,9 @@ export default { plugins: [ svelte({ // enable run-time checks when not in production - dev: true, + compilerOptions: { + dev: true, + }, }), // we'll extract any component CSS out into // a separate file better for performance diff --git a/examples/dynamic-imports/rollup.config.js b/examples/dynamic-imports/rollup.config.js index a7ce327..2e6d6e2 100755 --- a/examples/dynamic-imports/rollup.config.js +++ b/examples/dynamic-imports/rollup.config.js @@ -15,7 +15,9 @@ export default { plugins: [ svelte({ // enable run-time checks when not in production - dev: true, + compilerOptions: { + dev: true, + }, }), // we'll extract any component CSS out into // a separate file better for performance