xsheetjs/demos/systemjs/systemjsnode.js
SheetJS 60e8905bcb systemjs and angular demos [ci skip]
closes #447 h/t @channara
closes #453 h/t @Adtiv @paustint
closes #538 h/t @hsbilgen
closes #547 h/t @Mani2693
2017-03-23 13:11:31 -04:00

18 lines
390 B
JavaScript

var SystemJS = require('systemjs');
SystemJS.config({
meta: {
'../../xlsx.js': { format: 'global' },
'../../dist/xlsx.core.min.js': { format: 'global' },
'../../dist/xlsx.full.min.js': { format: 'global' },
},
paths: {
'npm:': '/usr/local/lib/node_modules/'
},
map: {
'xlsx': 'npm:xlsx/xlsx.js',
'fs': '@node/fs',
'crypto': '@node/fs'
}
});
SystemJS.import('./app.js');