Open jensenfan opened 4 years ago
Hi, I would like to bundle two remote files with systemjs, here is my attempt:
const path = require('path') const Builder = require('systemjs-builder'); var builder = new Builder('http://xxx.com/', path.join(__dirname,'./config.js')); builder .bundle(['xx.js','xx.js'], 'index.js') .then(function () { console.log('Build complete'); }) .catch(function (err) { console.log('Build error'); console.log(err); });
, obviously it doesn't work. What went wrong? Thx.
See the note in the project readme -
This project has been deprecated as of SystemJS 2.0. It will continue to support SystemJS 0.21 legacy builds though. Instead, Rollup code splitting builds are encouraged.
Hi, I would like to bundle two remote files with systemjs, here is my attempt:
, obviously it doesn't work. What went wrong? Thx.