These are chat archives for systemjs/systemjs

20th
May 2017
Randall Leeds
@tilgovi
May 20 2017 18:57
Is there a readymade module somewhere for a systemjs transpiler/loader that does no other transformation other than ES2015->System?
For my dev environment I'm wanting something that I can use to load me ES6 modules in the browser but that doesn't do the runtime transforms and pull in core-js and whatnot, because I'd rather assume that my browser basically supports all of ES6/7
I figured out I can set es2015, stage2, stage3: false in systemjs-plugin-babel but it still seems like it pulls in lots of thinsg
Charles Patton Jr
@buddyp450
May 20 2017 19:21
Could someone tell me why I get this when trying to load a css import?
Uncaught (in promise) Error: Fetch error: 404 Not Found
  Instantiating http://localhost:3000/css
  Loading http://localhost:3000/css
  Instantiating http://localhost:3000/app/layout/alertDrawer.css
  Loading http://localhost:3000/app/layout/appbar.jsx
  Loading http://localhost:3000/app/layout/main.jsx
  Loading http://localhost:3000/app/router/router.jsx
  Loading http://localhost:3000/app/index.jsx
  Loading periscope/index.jsx
    at fetch.js:37
    at <anonymous>
The import is just import './alertDrawer.css'; and my meta looks like: meta: { '*.css': { loader: 'css' } },
Charles Patton Jr
@buddyp450
May 20 2017 19:27
d'oh, the loader just wasn't a top-level dependency, nvmd :)
Randall Leeds
@tilgovi
May 20 2017 19:43
Okay, never mind. I think it's some dependencies that are already compiled with babel-runtime pulling in their local copies of it
yup. that's it.
Charles Patton Jr
@buddyp450
May 20 2017 19:45
It's a rare day when both new questions of the day work themselves out :)
Randall Leeds
@tilgovi
May 20 2017 19:45
:)
I look forward to a time when more projects publish their ES2015+ source files and a package.json module field.