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
配置(已经安装clean-css 和 clean-css模块) fis.match('.js', { optimizer: fis.plugin('uglify-js') }); fis.match('.css', { optimizer: fis.plugin('clean-css') }); 运行命令fis3 release 后产生的css和js文件和开发环境的文件大小和内容格式一模一样。 请问一下这是什么原因?
The text was updated successfully, but these errors were encountered:
你在哪儿看产出的?
Sorry, something went wrong.
fis3 server open 看的自带的部署目录
你在确认一下,这个是最基本功能,我这边无法复现。
你可以
fis3 release -d ./output
在 output 的目录再确认下;
另外,你可以使用
fis3 inspect --files *.js
来查看具体 optimizer 属性有没有 match 到 js 上。
如果没有可能你后部的配置覆盖了前部的配置。
No branches or pull requests
配置(已经安装clean-css 和 clean-css模块)
fis.match('.js', {
optimizer: fis.plugin('uglify-js')
});
fis.match('.css', {
optimizer: fis.plugin('clean-css')
});
运行命令fis3 release 后产生的css和js文件和开发环境的文件大小和内容格式一模一样。
请问一下这是什么原因?
The text was updated successfully, but these errors were encountered: