rollup / rollup-plugin-node-resolve

This module has moved and is now available at @rollup/plugin-node-resolve / https://github.com/rollup/plugins/blob/master/packages/node-resolve
MIT License
469 stars 96 forks source link

fix: respect setting the deprecated fields "module", "main", and "jsn… #204

Closed cecilia-sanare closed 5 years ago

cecilia-sanare commented 5 years ago

Description

This fixes an issue where setting any of the following would have zero impact on what fields were referenced.

module.exports = {
  plugins: [
    // The issue also occurred if they were set individually as well.
    resolve({
      main: false,
      module: false,
      jsnext: false
    })
  ]
}

Related Issues

closes #203