Skip to content

Commit 5996efd

Browse files
committed
add info about usage with old application bundlers like webpack4
1 parent 32c85fe commit 5996efd

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

CHANGELOG.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,20 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p
2727
- `IntentBlueprint`: BlueprintJS intent types, also available by `DefinitionsBlueprint`
2828
- `TableDataContainerProps`, `TableSimpleContainerProps`, `TableHeadProps`, `TableBodyProps`, `TableExpandedRowProps`, `TableHeaderProps` and `DataTableRenderProps` as interfaces for diverse table components
2929

30+
### Usage with old application bundlers
31+
32+
Old bundlers like webpack4 do not support the `exports` field from `package.json`, so it cannot resolve the correct files that need to be imported from the packages if they do not come with alternate configs like `modules` or `main`. Our latest markdown update introduced a few of those packages. So you need to extend your aliases (in webpack4 it is managed in `config.resolve.alias`) like:
33+
34+
```
35+
{
36+
"devlop": "devlop/lib/default.js",
37+
"unist-util-visit-parents/do-not-use-color": "unist-util-visit-parents/lib/color.js",
38+
"vfile/do-not-use-conditional-minpath": "vfile/lib/minpath.browser.js",
39+
"vfile/do-not-use-conditional-minproc": "vfile/lib/minproc.browser.js",
40+
"vfile/do-not-use-conditional-minurl": "vfile/lib/minurl.browser.js",
41+
}
42+
```
43+
3044
## [24.1.0] - 2025-04-16
3145

3246
### Added

0 commit comments

Comments
 (0)