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
I'm developing simple proof of concept using Webpack bundling code to System.js modules. Repo
What I'm achieving here: I have 'app' importing a function from 'lib'. This is done in runtime using System.js import map.
Both entries are transpiled by single webpack config - libraryTarget set as 'system'.
I'm trying to understand the output generated by Webpack (v.4) - it is much more complicated than examples in System.js specs.
Looking at the bundle for the 'app' - I don't see it using System.import when importing code from 'lib'.
The example works fine, but I'm having some problems to import 'plain' Systemjs modules generated outside Webpack.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I'm developing simple proof of concept using Webpack bundling code to System.js modules.
Repo
What I'm achieving here: I have 'app' importing a function from 'lib'. This is done in runtime using System.js import map.
Both entries are transpiled by single webpack config - libraryTarget set as 'system'.
I'm trying to understand the output generated by Webpack (v.4) - it is much more complicated than examples in System.js specs.
Looking at the bundle for the 'app' - I don't see it using System.import when importing code from 'lib'.
The example works fine, but I'm having some problems to import 'plain' Systemjs modules generated outside Webpack.
What format is the bundle generated by Webpack?
Beta Was this translation helpful? Give feedback.
All reactions