Skip to content

Commit

Permalink
fix: re-order yarn pnp plugin (#3579)
Browse files Browse the repository at this point in the history
  • Loading branch information
alisd23 authored Jun 28, 2022
1 parent 81d4b6a commit c68ae7b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions contributors.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
- alex-ketch
- alexuxui
- alireza-bonab
- alisd23
- alvinthen
- amorriscode
- andrelandgraf
Expand Down
3 changes: 2 additions & 1 deletion packages/remix-dev/compiler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -353,8 +353,9 @@ async function createBrowserBuild(
mdxPlugin(config),
browserRouteModulesPlugin(config, /\?browser$/),
emptyModulesPlugin(config, /\.server(\.[jt]sx?)?$/),
NodeModulesPolyfillPlugin(),
// Must be placed before NodeModulesPolyfillPlugin, so yarn can resolve polyfills correctly
yarnPnpPlugin(),
NodeModulesPolyfillPlugin(),
];

return esbuild.build({
Expand Down

0 comments on commit c68ae7b

Please sign in to comment.