简体   繁体   English

适用于Aurelia的Jspm SFX捆绑包

[英]Jspm SFX bundle for Aurelia

Is it possible in theory? 理论上有可能吗? I've tried with jspm 0.16 and 0.17 and jspm build command. 我尝试过使用jspm 0.16和0.17以及jspm build命令。 The bundle gets produced but loading it fails in aurelia-loader-default with an error 捆绑包生成但是在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

It is possible. 有可能的。 The enhancement which is needed is tracked here 此处跟踪所需的增强功能

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM