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
The transpiler would rewrite any imports from "./lib/" in module.js to "./" in the transpiled CommonJS modules. Since standard modules use a declarative syntax for imports, it is possible to do this transformation soundly and reliably.
This issue to a placeholder for someone to tackle a babel plugin to handle this.
The text was updated successfully, but these errors were encountered:
I've created this here: https://github.com/rtsao/polypackage. It works slightly differently from the proposal, but I think it's less restrictive in terms of how you structure your source code of the package.
As the poly-packages section stats
This issue to a placeholder for someone to tackle a babel plugin to handle this.
The text was updated successfully, but these errors were encountered: