Skip to content

Commit

Permalink
fix(web): run swc after other plugins in rollup (nrwl#11501)
Browse files Browse the repository at this point in the history
  • Loading branch information
seanboose authored Aug 9, 2022
1 parent 6eb52b8 commit 4917239
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/web/src/executors/rollup/rollup.impl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,6 @@ export function createRollupOptions(
compilerOptions: createCompilerOptions(options, dependencies),
},
}),
useSwc && swc(),
peerDepsExternal({
packageJsonPath: options.project,
}),
Expand All @@ -233,6 +232,7 @@ export function createRollupOptions(
preferBuiltins: true,
extensions: fileExtensions,
}),
useSwc && swc(),
useBabel &&
getBabelInputPlugin({
// Let's `@nrwl/web/babel` preset know that we are packaging.
Expand Down

0 comments on commit 4917239

Please sign in to comment.