Comments (2)
这里在autoload处是固定的,不过你可以通过roadmap.path配置去调整
fis.config.get('roadmap.path').unshift({
reg: /pkg\/page_map_(d+)\.js/,
release: 'somewhereelse/$1.js'
});
不过更推荐的做法是
fis.config.set('settings.postpackager.autoload.useInlineMap', true);
直接将resourcemap内嵌入页面,可以减少一次请求
from fis-postpackager-autoload.
怒赞!
刚学FIS。感觉你们要是有部完整的大文档就好了!!
感谢感谢,解决了我的大问题了。。。哈哈
from fis-postpackager-autoload.
Related Issues (11)
- pkg/page_map 的路径能不能也能自定义? HOT 2
- 增加功能:autocombine为true时,output文件名跟当前html名称关联 HOT 1
- autoload会不停的加载 HOT 3
- 非标准mod,第三方插件使用bug HOT 1
- <!--STYLE_PLACEHOLDER--> 用于指定样式输出位置的问题 HOT 1
- 如果是Jade写的页面 可以用autoload么?
- 如何让 amd loader 与其他js 模块打包在一起? HOT 2
- 当第三方库中有 require 关键字时, 会提示 [NOTICE] can't find dep resource ['./xxx'] HOT 5
- pkg文件夹能否自定义位置? HOT 2
- 页面最最终生成时,依赖的注释能否被清除 HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fis-postpackager-autoload.