理论上有可能吗?
我已尝试使用jspm
0.16和0.17以及jspm build
命令。捆绑包已生成但在aurelia-loader-default
中加载失败并显示错误
aurelia-loader-default.js:160 Uncaught (in promise) TypeError: require is not a function
at DefaultLoader.loadModule (http://localhost:3000/dist/bundle.js:1466:9)
at DefaultLoader.loadModule (http://localhost:3000/dist/bundle.js:1465:14)
at http://localhost:3000/dist/bundle.js:554:25DefaultLoader.loadModule @ aurelia-loader-default.js:160DefaultLoader.loadModule @ aurelia-loader-default.js:157(anonymous function) @ aurelia-bootstrapper.js:85