From b6bbd41b27e6901c6b6605e374bb5be2d28efe9c Mon Sep 17 00:00:00 2001 From: seanboose Date: Thu, 4 Aug 2022 09:43:06 -0500 Subject: [PATCH] fix(web): fix json imports in rollup with swc (#11436) moved the json plugin to be before the swc plugin in the rollup executor ISSUES CLOSED: 11435 --- packages/web/src/executors/rollup/rollup.impl.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/web/src/executors/rollup/rollup.impl.ts b/packages/web/src/executors/rollup/rollup.impl.ts index 486ff77344..478bfd23a6 100644 --- a/packages/web/src/executors/rollup/rollup.impl.ts +++ b/packages/web/src/executors/rollup/rollup.impl.ts @@ -205,6 +205,7 @@ export function createRollupOptions( ), }), image(), + json(), useBabel && require('rollup-plugin-typescript2')({ check: true, @@ -258,7 +259,6 @@ export function createRollupOptions( }), commonjs(), analyze(), - json(), ]; const globals = options.globals