-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
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
请教如何判断处于debug模式 #12
Comments
@stonelee no debug anymore now. Add an |
我希望能够在模板中区分
与
两种命令。 这样在debug时调用本机文件,加载快,调试修改方便 希望能够早日支持。 |
engine方式貌似只能将配置写死在package.json文件中,无法在nico执行时对两种命令进行区分,求详解~ |
我觉得也可以分开 |
@stonelee 打算先设计为: 判断 sea-modules 下有没有 seajs,有的话就是本地。 |
@lepture 我的场景不是仅仅加载seajs,还有其他一些文件,如果能够在模板中提供一个参数能够判断就好了 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
之前的版本可以判断是否是debug模式
现在好像不能使用了?请指教。
版本为:nico 0.3.1
The text was updated successfully, but these errors were encountered: