This repository has been archived by the owner on Oct 9, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 33
The plugin doesn't seem to be doing anything #84
Comments
By default SystemJS won't transpile all code, only code it deems to be ES module code. Try adding: System.config({
meta: {
'path-to-index-dir/*': { format: 'esm' }
}
}); Or just specifically for the |
This works, thanks! Do I get it right that's what the following note in
(I thought about adding a feature detection clarification in the plugin's readme.) |
Yes exactly, if you'd like to clarify PR's welcome. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I'm not able to run anything needing transpilation even with the most basic configuration - attempt to run something ends with syntax error on
node_modules/systemjs/dist/system.src.js:2823:8
; when I try to logsource
param of thegetSource
function on this line I'm getting untranspiled code.index.html (only the relevant part):
system.config.js:
(Adding
baseURL
,defaultJSExtension
won't help)index.js
Exact stack trace:
versions (apart from
promise-polyfill
no other packages present):(Don't have any other old browser than IE11, sorry. Also tried to include various core-js polyfills.)
Am I missing something obvious?
The text was updated successfully, but these errors were encountered: