From c69d6215e2de9299a085705ee056993d65c06b8b Mon Sep 17 00:00:00 2001 From: Conduitry Date: Thu, 30 Sep 2021 19:05:23 -0400 Subject: [PATCH] tidy rollup config --- site/rollup.config.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/site/rollup.config.js b/site/rollup.config.js index 7af09ec9a1..44092beec3 100644 --- a/site/rollup.config.js +++ b/site/rollup.config.js @@ -20,9 +20,6 @@ if (!dev && !process.env.MAPBOX_ACCESS_TOKEN) { const onwarn = (warning, onwarn) => (warning.code === 'CIRCULAR_DEPENDENCY' && /[/\\]@sapper[/\\]/.test(warning.message)) || onwarn(warning); const dedupe = importee => importee === 'svelte' || importee.startsWith('svelte/'); -const serverOutput = config.server.output(); -serverOutput.format = 'esm'; - export default { client: { input: config.client.input(), @@ -74,7 +71,7 @@ export default { server: { input: config.server.input(), - output: serverOutput, + output: config.server.output(), plugins: [ replace({ 'process.browser': false,