Skip to content
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

内联的css如何支持代码压缩? #21

Open
JackZhang1988 opened this issue Dec 1, 2021 · 0 comments
Open

内联的css如何支持代码压缩? #21

JackZhang1988 opened this issue Dec 1, 2021 · 0 comments

Comments

@JackZhang1988
Copy link

请问我本地配置了在webpack.config 里配置了{ extract: false } 并且在prod环境设置

config.vuessr = {
        injectCss: false,
    };

来实现内联所有css文件,运行时发现css已经内联了,但内联的样式代码没有压缩,请问如何开启内联样式的代码压缩呢?查询了一圈文档,看并没有类似的介绍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant