-
2 votesanswersviews
ES6 SystemJs - 为什么我必须使用.js扩展名来导入es6模块?
为什么我必须使用.js扩展名来导入带有systemjs的es6模块?例如: import { multiplier } from "adder.js"; // ok import { double, square } from 'modules'; // error var timesTwo = multiplier(2); console.log(timesTwo(4))...