Skip to content

Commit

Permalink
revert
Browse files Browse the repository at this point in the history
  • Loading branch information
JoviDeCroock committed Mar 1, 2021
1 parent a69f8dc commit 12a6586
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions packages/wmr/src/plugins/npm-plugin/resolve.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,7 @@
import { resolve as _resolveExports, legacy as _resolveLegacyEntry } from 'resolve.exports';

function resolveExports(pkg, key) {
const conditions = [
process.env.NODE_ENV === 'production' ? 'production' : 'development',
'esmodules',
'import',
'module',
'require'
];
const conditions = [process.env.NODE_ENV === 'production' ? 'production' : 'development', 'esmodules', 'module'];

return _resolveExports(pkg, key, {
browser: true,
Expand Down

0 comments on commit 12a6586

Please sign in to comment.