These are chat archives for systemjs/systemjs

2nd
Mar 2015
Andrew Popovych
@piratus
Mar 02 2015 04:13
@guybedford I've used JSXTransformer that comes with React. Plugin code is pretty straightforward:
var Transformer = require('JSXTransformer');

exports.translate = function (load) {
    var output = Transformer.transform(load.source, {harmony: true});
    load.source = output.code;
};
Veaceslav Cotruta
@katrotz
Mar 02 2015 10:08

Hi all!
How to solve the problem of loading the fonts required in the CSS file assuming I do not have a web server (serving from AWS S3) to set mime types

My JS file
import 'font-awesome/css/font-awesome.css!';

Browser console:
Resource interpreted as Font but transferred with MIME type text/html: "http://www.example.com/jspm_packages/npm/font-awesome@4.3.0/fonts/fontawesome-webfont.woff2?v=4.3.0"