diff --git a/rollup.config.vanilla-library.js b/rollup.config.vanilla-library.js index 72719120..4deb14d5 100644 --- a/rollup.config.vanilla-library.js +++ b/rollup.config.vanilla-library.js @@ -43,7 +43,7 @@ export default { resolve({ browser: true, - exportConditions: ['svelte', 'module', 'production', 'browser'] + exportConditions: ['svelte', production ? 'production' : 'development'] }), commonjs(), json(),