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
fis-conf.js配置如下:
// 插件配置 fis.match('::packager', { //fis-spriter-csssprites 插件 开启雪碧图合并 spriter: fis.plugin('csssprites'),
// npm install [-g] fis3-postpackager-loader // 分析 __RESOURCE_MAP__ 结构,来解决资源加载问题 postpackager: fis.plugin('loader', { resourceType: 'amd', processor: { '.html': 'html' }, allInOne: true, useInlineMap: true // 资源映射表内嵌 })
});
同一html页面的js资源完全没有合并。求解,坐等啊
The text was updated successfully, but these errors were encountered:
@fisherwj 看这里!
fis.match('::package', { postpackager: fis.plugin('loader', { resourceType: 'amd', obtainScript: false, obtainStyle: false, allInOne: { css: "pkg/${filepath}_aio.css", js: "pkg/${filepath}_aio.js", /** * 开启后才能打包(allInOne),然后这里需要注意几点 * 1. 开启后useInlineMap将会失效 * 2. libs(外部引用的包)也需要使用“组件化包装”,开启isMod自动包装! */ includeAsyncs: true }, useInlineMap: true, // 资源映射表内嵌 }) })
Sorry, something went wrong.
No branches or pull requests
fis-conf.js配置如下:
// 插件配置
fis.match('::packager', {
//fis-spriter-csssprites 插件 开启雪碧图合并
spriter: fis.plugin('csssprites'),
});
同一html页面的js资源完全没有合并。求解,坐等啊
The text was updated successfully, but these errors were encountered: