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
This commit is contained in:
parent
eae3d45625
commit
b6bbd41b27
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user