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
RT, 如果import了一个不存在的target是不是警告或者报错好些,因为错误在
// @etpl/3.0.1/src/main.js#986 if (child instanceof ImportCommand) { var target = engine.targets[child.name]; readyState = readyState && target && target.isReady(engine); }
这个地方检查ready的时候被隐式吃掉了,只要有一个import不存在,会导致整个template出不来,这时候如果没有报错或者警告,很难跟踪到错误
The text was updated successfully, but these errors were encountered:
+1
Sorry, something went wrong.
受限🐟前端模板引擎对体积的要求,解析过程不是逐行逐字符扫,所以没法提示到具体行。
另外,前端模板不负责文件的load,只负责parse string,所以,也无法定位到文件。
只能输出一些错误信息。
69e39cf
add #66 cases
4054b32
add #66 doc
bcd36f2
No branches or pull requests
RT, 如果import了一个不存在的target是不是警告或者报错好些,因为错误在
这个地方检查ready的时候被隐式吃掉了,只要有一个import不存在,会导致整个template出不来,这时候如果没有报错或者警告,很难跟踪到错误
The text was updated successfully, but these errors were encountered: