Closed LucasC-S closed 10 months ago
devlop uses package exports: https://unpkg.com/browse/devlop@1.1.0/package.json
You have to opt into them when using Parcel: https://parceljs.org/features/dependency-resolution/#package-exports
@mischnic but how to ignore the dynamic
imports that might exist in some of the dependency modules?
for example, those dynamic imports are in i.e. if (special_case) { await import(...);}
clause, where our application will never have special_case
clause to true and thus I will not need to use those dependencies. how to ignore them?
@ttodua Add
{
"alias": {
"http-proxy-agent": false
}
}
in your project root's package json.
Discussed in https://github.com/parcel-bundler/parcel/discussions/9462