You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If a package.json is put in that directory and it is used as the basis of producing an npm module called my-module, tooling like the TypeScript language server will complete import {} from 'my-module/ with a dialogue showing all of the chunks intermingle with the legitimate sub-packages (at least until it starts respecting the "exports" field in the package.json).
It would be helpful to have a measure of control over where the chunks get placed to prevent them from polluting completion in this way. It's a minor thing but perhaps a bit of feedback that might be helpful in your planned code-splitting refactor.
The text was updated successfully, but these errors were encountered:
Given a configuration like this:
The resulting build might look like this:
If a
package.json
is put in that directory and it is used as the basis of producing an npm module calledmy-module
, tooling like the TypeScript language server will completeimport {} from 'my-module/
with a dialogue showing all of the chunks intermingle with the legitimate sub-packages (at least until it starts respecting the"exports"
field in thepackage.json
).It would be helpful to have a measure of control over where the chunks get placed to prevent them from polluting completion in this way. It's a minor thing but perhaps a bit of feedback that might be helpful in your planned code-splitting refactor.
The text was updated successfully, but these errors were encountered: