Skip to content
This repository has been archived by the owner on Jul 11, 2024. It is now read-only.

@curiostack/base-web-0.0.51

Compare
Choose a tag to compare
@chokoswitch chokoswitch released this 14 Nov 08:19
· 207 commits to master since this release
a580bc8

Bug Fixes

  • Fixes core-js resolution workaround to apply to webpack in addition to normal nodejs (e.g., jest)

New features

  • Module resolution can be overridden by setting curiostack.resolveOverrides in package.json
{
  "curiostack": {
    "resolveOverrides": {
      "redux-saga": ["redux-saga-old"]
    }
  },
  "dependencies": {
    "redux-saga-old": "npm:redux-saga:0.0.1"
  }
}

This allows you to use yarn's npm aliases to have multiple versions of the same library in node_modules. Having multiple entries will check them in order (useful for working around issues like the core-js API breakage) but it's more normal to have a single entry pointing to a desired version for a project (e.g., old redux-saga for use with react-admin). This should generally work with less issues than nohoist.