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.match('::packager', { // npm install [-g] fis3-postpackager-loader // 分析 __RESOURCE_MAP__ 结构,来解决资源加载问题 postpackager: fis.plugin('loader', { resourceType: 'mod', useInlineMap: true // 资源映射表内嵌 }), packager: fis.plugin('map'), spriter: fis.plugin('csssprites', { layout: 'matrix', margin: '15' }) }).match('**/*.css', { packTo: 'public/stylesheets/all.css' //css打成一个包 });
如果不更改后缀名称,
fis.match("index.html", { release: 'views/index', //rExt: '.ejs', useCache : false });
编译之后,resourceMap注入正常。
但是如果把变更后缀这个去掉
fis.match("index.html", { release: 'views/index', rExt: '.ejs', useCache : false });
编译正常,但是resourceMap没有注入进去。
The text was updated successfully, but these errors were encountered:
需要标明是 htmlLike
fis.match("index.html", { release: 'views/index', rExt: '.ejs', useCache : false, isHtmlLike: true });
Sorry, something went wrong.
No branches or pull requests
配置:
如果不更改后缀名称,
编译之后,resourceMap注入正常。
但是如果把变更后缀这个去掉
编译正常,但是resourceMap没有注入进去。
The text was updated successfully, but these errors were encountered: