Skip to content

Commit

Permalink
fix: remove expired fix
Browse files Browse the repository at this point in the history
  • Loading branch information
liximomo committed Aug 1, 2024
1 parent 073ae7c commit 4a8cc12
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions packages/toolpack/src/webpack/config/node.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,6 @@ export function createNodeWebpackChain(options: BaseOptions): WebpackChain {
'.json',
'.wasm'
]);
// fix: Can't reexport the named export 'BREAK' from non EcmaScript module
// related issue: https://github.com/graphql/graphql-js/issues/1272
chain.resolve.mainFields.clear().add('main').add('module');

chain.output.libraryTarget('commonjs2');
chain.optimization.minimize(false);
Expand Down

0 comments on commit 4a8cc12

Please sign in to comment.