9 Star 21 Fork 3

hocgin/chrome-extension-weather

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
.umirc.js 928 Bytes
一键复制 编辑 原始数据 按行查看 历史
hocgin 提交于 2020-03-20 00:14 +08:00 . # CI/CD
// ref: https://umijs.org/config/
export default {
treeShaking: true,
plugins: [
// ref: https://umijs.org/plugin/umi-plugin-react.html
['umi-plugin-react', {
antd: true,
dva: true,
dynamicImport: false,
title: 'WeatherForChrome',
dll: false,
routes: {
exclude: [
/models\//,
/services\//,
/model\.(t|j)sx?$/,
/service\.(t|j)sx?$/,
/components\//,
],
},
}],
],
exportStatic: {
htmlSuffix: true,
dynamicRoot: true,
},
copy: [{
from: 'manifest.json',
to: 'manifest.json',
toType: 'file',
}, {
from: 'src/background.js',
to: 'background.js',
toType: 'file',
}, {
from: 'src/assets/manifest/*',
to: 'static/[name].[ext]',
toType: 'template',
}, {
from: 'src/assets/weather/png/*',
to: 'static/[name].[ext]',
toType: 'template',
}],
};
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
JavaScript
1
https://gitee.com/hocgin/chrome-extension-weather.git
git@gitee.com:hocgin/chrome-extension-weather.git
hocgin
chrome-extension-weather
chrome-extension-weather
master

搜索帮助