1 Star 2 Fork 0

红日初升/codelf

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
lib.config.js 1.15 KB
一键复制 编辑 原始数据 按行查看 历史
unbug 提交于 2019-12-06 15:12 . cache bing translate api
'use strict';
exports.js = [
'./node_modules/react/umd/react.production.min.js',
'./node_modules/react-dom/umd/react-dom.production.min.js',
'./node_modules/clipboard/dist/clipboard.min.js',
'./src/vendors/prettify.js',
'./node_modules/mark.js/dist/mark.min.js'
];
exports.css = [
'./node_modules/semantic-ui-css/semantic.min.css',
'./node_modules/animate.css/animate.min.css',
'./src/vendors/prettify.css'
];
exports.extra = [{
'css/themes': './node_modules/semantic-ui-css/themes/**'
}];
// configs for service worker, get request only, not in "included" url won't be cached
exports.serviceWorker = {
included: [ // cache then network, url must start with it's host
'"searchcode.com"',
'"fanyi.youdao.com"',
'"api.cognitive.microsofttranslator.com"',
'"api.github.com"'
],
networkOnly: [ // network falling back to cache, url|path|etc must included in "included"
],
cacheOnly: [ // cache fallback to network, url|path|etc must included in "included"
'"fanyi.youdao.com"',
'"api.cognitive.microsofttranslator.com"',
'"api.github.com"'
],
excluded: [ // won't be cache, url|path|etc must included in "included"
]
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/rscs/codelf.git
git@gitee.com:rscs/codelf.git
rscs
codelf
codelf
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385