You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 4, 2021. It is now read-only.
👋 Hey there! Some of my libraries ended up catching a breaking change in this library.
The change to add the new mainFields option also made it so that module
is no longer take into account when determining what fields to pull.
Simple Example
constresolve=require('rollup-plugin-node-resolve');module.exports={// The rest of my rollup configuration ...plugins: [resolve({module: false,// still results in `mainFields` = ['main', 'module']browser: true,extensions: ['.mjs','.js','.jsx','.json','.ts']})// The rest of my super cool plugins ...]}
Description
👋 Hey there! Some of my libraries ended up catching a breaking change in this library.
The change to add the new
mainFields
option also made it so thatmodule
is no longer take into account when determining what fields to pull.
Simple Example
Related Code
rollup-plugin-node-resolve/src/index.js
Lines 48 to 59 in 86905f4
Workaround
Just move to the new field since it works correctly.
The text was updated successfully, but these errors were encountered: