We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
直接clone的代码,本地 cnpm install,然后build,在ie8下执行build后的代码,出错。
报错信息: SCRIPT1010: 缺少标识符 index.a3d2acf4.js (185,37)
查看代码: webpack_require.e/* require.ensure */(0).then((function () { var foo = webpack_require(20); console.log(foo);
}).bind(null, webpack_require)).catch(webpack_require.oe); //185行
var vm = avalon.define({ $id: "test", name: "司徒正美", array: [11, 22, 33] });
The text was updated successfully, but these errors were encountered:
不好意思,应该是webpack2 不支持 require.ensure,去掉view/index/index.js的这部分就好了。
Sorry, something went wrong.
确实,本地试了,去除后就不报错了,正常运行了
No branches or pull requests
直接clone的代码,本地 cnpm install,然后build,在ie8下执行build后的代码,出错。
报错信息:
SCRIPT1010: 缺少标识符
index.a3d2acf4.js (185,37)
查看代码:
webpack_require.e/* require.ensure */(0).then((function () {
var foo = webpack_require(20);
console.log(foo);
}).bind(null, webpack_require)).catch(webpack_require.oe); //185行
var vm = avalon.define({
$id: "test",
name: "司徒正美",
array: [11, 22, 33]
});
The text was updated successfully, but these errors were encountered: