rslib
rslib copied to clipboard
[Feature]: Way to bypass external warning
What problem does this feature solve?
Given a source code like below, which targeting ESM output:
const A = require('react')
There will be a warning from composeExternalsWarnConfig, if user has explictly config module react, the warning should dismiss.
What does the proposed API look like?
Respect use's externals config.