Skip to content

Commit 06f969e

Browse files
committed
Fix rollup importing wrong 'meilisearch'
1 parent 3de2804 commit 06f969e

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

packages/autocomplete-client/rollup.config.js

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -51,11 +51,7 @@ const ROLLUP_OPTIONS = [
5151
},
5252
plugins: [
5353
...COMMON_PLUGINS,
54-
nodeResolve({
55-
mainFields: ['jsnext', 'browser', 'main'],
56-
preferBuiltins: true,
57-
browser: true,
58-
}),
54+
nodeResolve({ exportConditions: ['browser'] }),
5955
commonjs(),
6056
babel(),
6157
env === 'production' ? terser() : {}, // will minify the file in production mode

0 commit comments

Comments
 (0)