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(),
|
image(),
|
||||||
|
json(),
|
||||||
useBabel &&
|
useBabel &&
|
||||||
require('rollup-plugin-typescript2')({
|
require('rollup-plugin-typescript2')({
|
||||||
check: true,
|
check: true,
|
||||||
@ -258,7 +259,6 @@ export function createRollupOptions(
|
|||||||
}),
|
}),
|
||||||
commonjs(),
|
commonjs(),
|
||||||
analyze(),
|
analyze(),
|
||||||
json(),
|
|
||||||
];
|
];
|
||||||
|
|
||||||
const globals = options.globals
|
const globals = options.globals
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user