transform-es2015-modules-systemjs won't work with karma
gajewsk2 opened this issue · 2 comments
gajewsk2 commented
I get
'Unhandled promise rejection', Error{message: 'Module http://localhost:9877/src/hello.es6.js interpreted as global module format, but called System.register.
babelPreprocessor: {
options: {
"plugins": [
"transform-es2015-modules-systemjs"
],
"presets": [
"es2015"
],
sourceMap: 'inline'
},
sourceFileName: function (file) {
return file.originalPath;
}
},
Any ideas how to address it?
Using this: https://github.com/gunnarlium/babel-jspm-karma-jasmine-istanbul
shuhei commented
Not sure at this time. Let's see answer from the repo's author.
shuhei commented
Closing because it seems like an issue of gunnarlium/babel-jspm-karma-jasmine-istanbul#13