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
{{ message }}
This repository has been archived by the owner on Oct 9, 2020. It is now read-only.
I have an existing System.js bundle (that is, a single file containing many System.register calls) that is produced by the TypeScript compiler with module="System". What I want to do is build some new bundles from subtrees of the modules represented in this file. For example, say my TS-generated bundle file contains modules A, B, and C. I want to use the System.js builder to build new two bundles using A and B respectively as entry points.
I tried to do this using the "bundles" config property without any luck:
My expectation was that thanks to the "bundle" property in my config, when I call builder.bundle("renderer/index", ...), System.js would go and fetch renderer/out.js. This seems not to be the case:
Error on fetch for renderer/index at file:///D:/a/b/src/renderer/index
Error: ENOENT: no such file or directory, open 'D:\a\b\src\renderer\index'
at Error (native)
originalErr:
{ Error: ENOENT: no such file or directory, open 'D:\a\b\src\renderer\index'
at Error (native)
errno: -4058,
code: 'ENOENT',
syscall: 'open',
path: 'D:\\a\\b\\src\\renderer\\index' } }
Does anyone know the right way to approach this?
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hello,
I have an existing System.js bundle (that is, a single file containing many System.register calls) that is produced by the TypeScript compiler with module="System". What I want to do is build some new bundles from subtrees of the modules represented in this file. For example, say my TS-generated bundle file contains modules A, B, and C. I want to use the System.js builder to build new two bundles using A and B respectively as entry points.
I tried to do this using the "bundles" config property without any luck:
renderer-system-config.js
renderer/out.js contains
and a bunch of other System.register'd modules.
My expectation was that thanks to the "bundle" property in my config, when I call
builder.bundle("renderer/index", ...)
, System.js would go and fetch renderer/out.js. This seems not to be the case:Does anyone know the right way to approach this?
The text was updated successfully, but these errors were encountered: