1 Star 2 Fork 2

mirrors_gis/maptalks.three

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
rollup.worker.config.js 898 Bytes
一键复制 编辑 原始数据 按行查看 历史
deyihu 提交于 2022-01-21 09:32 . update rollup version and plugins (#389)
import { nodeResolve as resolve } from '@rollup/plugin-node-resolve';
import { babel } from '@rollup/plugin-babel';
import commonjs from '@rollup/plugin-commonjs';
import { terser } from 'rollup-plugin-terser';
import json from '@rollup/plugin-json';
module.exports = [
{
input: 'src/worker/index.js',
plugins: [
json(),
resolve({
module: true,
jsnext: true,
main: true
}),
commonjs(),
babel(),
terser()
],
external: ['maptalks'],
output: {
format: 'amd',
name: 'maptalks',
globals: {
'maptalks': 'maptalks'
},
extend: true,
file: 'dist/worker.amd.js'
},
// watch: {
// include: 'src/worker/**'
// }
}
];
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/mirrors-gis/maptalks.three.git
git@gitee.com:mirrors-gis/maptalks.three.git
mirrors-gis
maptalks.three
maptalks.three
master

搜索帮助

23e8dbc6 1850385 7e0993f3 1850385