plugins icon indicating copy to clipboard operation
plugins copied to clipboard

browser: true ignored when plugin-node-resolve 14 is used with plugin-typescript

Open FranklinWhale opened this issue 3 years ago • 0 comments

  • Rollup Plugin Name: plugin-node-resolve
  • Rollup Plugin Version: 14.1.0
  • Rollup Version: 2.79.0
  • Operating System (or Browser): Windows 10 Professional 21H2 19044.2006
  • Node Version: 16.17.0
  • Link to reproduction: https://replit.com/@FranklinWhale/NodeResolve14-TypeScript, https://replit.com/@FranklinWhale/NodeResolve13-TypeScript

Expected Behavior

The diff returns no result

Actual Behavior

In NodeResolve14-TypeScript, TS and JS output are not the same.

Additional Information

node-resolve 14 seems to have ignored browser: true when used with typescript. node-resolve 13 works.

FranklinWhale avatar Sep 21 '22 10:09 FranklinWhale