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
发现升级后在使用 stc-inline 时配置文件不变, 编译后代码有问题, 配置如:
stc.workflow({ uglify: {plugin: uglify, exclude: [/static\/admin\/src/]}, cssCombine: {plugin: cssCombine, include: /\.css$/}, cssCompress: { plugin: cssCompress }, localstorage: { include: { type: 'tpl' }, plugin: localstorage, options: { adapter: localstorageAdapter, minLength: 200, appId: '3e988cdb' } }, htmlCompress: { plugin: htmlCompress, options: { trim: true } }, resourceVersion: { plugin: resourceVersion }, inline: { plugin: inline, include: /\.html$/, options: { uglify: true, datauri: true, jsinline: true, allowRemote: true } }, })
<link rel=stylesheet href="/static/mip/css/all.css?v=6e813" inline>
必须把配置里的 inline 移动 resourceVersion 前面才行, 不知道是不是 bug...
The text was updated successfully, but these errors were encountered:
No branches or pull requests
发现升级后在使用 stc-inline 时配置文件不变, 编译后代码有问题, 配置如:
必须把配置里的 inline 移动 resourceVersion 前面才行, 不知道是不是 bug...
The text was updated successfully, but these errors were encountered: