Ember生成生成错误'WARN:输出超过32000个字符' [英] Ember production build error 'WARN: Output exceeds 32000 characters'
本文介绍了Ember生成生成错误'WARN:输出超过32000个字符'的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在该应用程序中开发一个Ember应用程序
I'm developing an Ember application,
构建生产环境的应用程序在构建过程中给出以下警告。
Building application for production environment gives following warning during build process.
执行 ember build --environment = production
命令
我收到以下警告:
WARN:输出超过32000个字符
WARN: Output exceeds 32000 characters
我们需要抑制或消除此警告。
we need to suppress or eliminate this warning.
推荐答案
您需要在选项
对象中提及minifyjs配置,
You need to mention it in options
object for minifyjs configurations,
var app = new EmberApp(defaults, {
minifyJS: {
enabled: true, //by default its enabled for production
options: {
"max-line-len": 50000, //you can mention custom value
}
}
});
这篇关于Ember生成生成错误'WARN:输出超过32000个字符'的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文