2024-09-23
- feat: allow preferBuiltins to be a function (#1694)
2024-09-22
- chore: remove is-builtin-module (#1735)
2023-10-08
- fix: modulePaths default is not set #1534
2023-10-05
- fix: ensure rollup 4 compatibility #1595
2023-08-22
- fix: Implement package exports / imports resolution algorithm according to Node documentation #1549
2023-08-17
- feat: pass original importee to secondary resolve #1557
2023-05-30
- feat: Resolve js/jsx/mjs/cjs imports from TypeScript files #1498
2023-04-04
- fix: bump is-builtin-module version, imports with a trailing slash #1424
2022-10-21
- chore: update rollup dependencies (3038271)
2022-10-10
- fix: prepare for Rollup 3 #1288
2022-09-12
- feat: add new option, modulePaths (#1104)
2022-09-08
- fix: handle circular commonjs (#1259)
2022-09-06
- fix: preserve moduleSideEffects when re-resolving files (#1245)
2022-05-02
- feat: support
node:
protocol (#1124)
2022-05-02
- fix: Respect if other plugins resolve the resolution to a different id (#1181)
- fix: Revert respect if other plugins resolve the resolution to a different id (ae59ceb)
- fix: Respect if other plugins resolve the resolution to a different id (f8d4c44)
2022-04-15
- fix: update side effects logic to be deep when glob doesn’t contain
/
(#1148)
2022-04-11
- feat: Add the ability to pass a function into resolveOnly (#1152)
2022-01-05
- fix: use correct version when published (#1063)
2021-12-31
- fix: forward meta-information from other plugins (#1062)
2021-12-13
- test: add tests for mixing custom
exportConditions
withbrowser: true
(#1043)
2021-12-13
- feat: expose plugin version (#1050)
2021-10-19
- fix: pass on isEntry flag (#1016)
2021-09-21
- docs: fix readme heading depth (#999)
2021-07-24
- fix: Fix bug where JS import was converted to a TS import, resulting in an error when using export maps (#921)
2021-07-24
- fix: handle browser-mapped paths correctly in nested contexts (#920)
2021-07-15
- fix: handle "package.json" being in path (#927)
2021-07-15
- docs: Document how to get Node.js exports resolution (#884)
2021-05-04
- fix!: mark module as external if resolved module is external (#799)
- feat: Follow up to #843, refining exports and browser field interaction (#866)
2021-05-04
- fix!: mark module as external if resolved module is external (#799)
- feat: Follow up to #843, refining exports and browser field interaction (#866)
2021-03-26
- fix: fs.exists is incorrectly promisified (#835)
2021-02-14
- feat: add
ignoreSideEffectsForRoot
option (#694)
- chore: mark
url
as an external and throw on warning (#783) - docs: clearer "Resolving Built-Ins" doc (#782)
2021-01-29
- fix: only log last resolve error (#750)
- docs: add clarification on the order of package entrypoints (#768)
2021-01-15
- feat: support pkg imports and export array (#693)
2020-12-14
- fix: export map specificity (#675)
- fix: add missing type import (#668)
- docs: corrected word "yse" to "use" (#723)
2020-11-30
- refactor!: simplify builtins and remove
customResolveOptions
(#656) - feat!: Mark built-ins as external (#627)
- feat!: support package entry points (#540)
- fix: refactor handling builtins, do not log warning if no local version (#637)
- docs: fix import statements in examples in README.md (#646)
2020-10-27
- fix!: resolve hash in path (#588)
- fix: do not ignore exceptions (#564)
2020-08-13
- chore: update dependencies (e632469)
- refactor: remove deep-freeze from dependencies (#529)
- chore: clean up changelog (84dfddb)
2020-07-12
- feat: preserve search params and hashes (#487)
- feat: support .js imports in TypeScript (#480)
- docs: fix named export use in readme (#456)
- docs: correct mainFields valid values (#469)
2020-06-22
- feat: add native node es modules support (#413)
2020-06-05
- fix: handle nested entry modules with the resolveOnly option (#430)
2020-05-20
- feat: Add default export (#361)
- feat: export defaults (#301)
- fix: resolve local files if
resolveOption
is set (#337)
- docs: correct misspelling (#343)
2020-04-12
- fix: resolve symlinked entry point properly (#291)
2020-04-12
- docs: fix url (#289)
2020-02-03
- fix: main fields regression (#196)
2020-02-01
- refactor: clean codebase and fix external warnings (#155)
2020-01-07
- feat: dedupe by package name (#99)
2020-01-04
- fix: allow deduplicating custom module dirs (#101)
- feat: add rootDir option (#98)
- docs: improve doc related to mainFields (#138)
2019-11-25
- Breaking: Minimum compatible Rollup version is 1.20.0
- Breaking: Minimum supported Node version is 8.0.0
- Published as @rollup/plugin-node-resolve
- add missing MIT license file (#233 by @kenjiO)
- Fix incorrect example of config (#239 by @myshov)
- Fix typo in readme (#240 by @LinusU)
- dedupe accepts a function (#225 by @manucorporat)
- Move Rollup version check to buildStart hook to avoid issues (#232 by @lukastaegert)
- Fix path fragment inputs (#229 by @bterlson)
- Treat sideEffects array as inclusion list (#227 by @mikeharder)
- Make empty.js a virtual module (#224 by @manucorporat)
- Support resolve 1.11.1, add built-in test (#223 by @bterlson)
- Update to resolve@1.11.0 for better performance (#220 by @keithamus)
- Replace bublé with babel, update dependencies (#216 by @mecurc)
- Handle module side-effects (#219 by @lukastaegert)
- Requires at least rollup@1.11.0 to work (v1.12.0 for module side-effects to be respected)
- If used with rollup-plugin-commonjs, it should be at least v10.0.0
- Add note on builtins to Readme (#215 by @keithamus)
- Add issue templates (#217 by @mecurc)
- Improve performance by caching
isDir
(#218 by @keithamus)
- Fix ordering of jsnext:main when using the jsnext option (#209 by @lukastaegert)
- Fix TypeScript typings (rename and export Options interface) (#206 by @Kocal)
- Fix mainfields typing (#207 by @nicolashenry)
- Respect setting the deprecated fields "module", "main", and "jsnext" (#204 by @nick-woodward)
- Add new mainfields option (#182 by @keithamus)
- Added dedupe option to prevent bundling the same package multiple times (#201 by @sormy)
- Fix issue when external modules are specified in
package.browser
(#143 by @keithamus) - Fix
package.browser
mapping issue whenfalse
is specified (#183 by @allex)
This release will support rollup@1.0
- Resolve modules used to define manual chunks (#185 by @mcshaman)
- Update dependencies and plugin hook usage (#187 by @lukastaegert)
This release now supports .mjs
files by default
- feat: Support .mjs files by default (rollup/rollup-plugin-node-resolve#151, by @leebyron)
This release adds the only
option
- feat: add
only
option (#83; @arantes555)
- docs: correct description of
jail
option (#120; @GeorgeTaveras1231)
This release caches reading/statting of files, to improve speed.
- perf: cache file stats/reads (#126; @keithamus)
- Ensure
pkg.browser
is an object if necessary (#129)
- Remove
browser-resolve
dependency (#127)
- Prevent
jail
from breaking builds on Windows (#93)
- Add support
module
field in package.json as an official alternative to jsnext
- Error messages are more descriptive (#50)
- Allow entry point paths beginning with ./
- Return a
name
- Allow relative IDs to be external (#32)
- Skip IDs containing null character
- Prefer built-in options, but allow opting out (#28)
- Pass
options.extensions
through tonode-resolve
skip: true
skips all packages that don't satisfy themain
orjsnext
options (#16)
- Support scoped packages in
skip
option (#15)
- Support
browser
field (#8) - Get tests to pass on Windows
- Use node-resolve to handle various corner cases
- Add ES6 build, use Rollup 0.20.0
- First release