1 Star 0 Fork 2

yuhuai/jesium

forked from even_jie/jesium 
Create your Gitee Account
Explore and code with more than 12 million developers,Free private repositories !:)
Sign up
文件
This repository doesn't specify license. Please pay attention to the specific project description and its upstream code dependency when using it.
Clone or Download
rollup.config.js 788 Bytes
Copy Edit Raw Blame History
even_jie authored 2023-02-24 19:07 . [feat] 打包报错了,回去在搞
import json from "rollup-plugin-json";
import typescript from "rollup-plugin-typescript2";
import sourceMaps from "rollup-plugin-sourcemaps";
import polyfillNode from "rollup-plugin-polyfill-node"
import nodeResolve from "@rollup/plugin-node-resolve"
const libraryName = 'Jesium'
export default {
input: "modules/index.ts",
output: [
{ format: "es", file: 'lib/main.esm.js' },
{ format: "umd", file: 'lib/main.umd.js', name: libraryName },
],
plugins: [
json(),
typescript({
exclude: ["node_modules/**", "src/**"],
typescript: require("typescript"),
useTsconfigDeclarationDir: true
}),
sourceMaps(),
polyfillNode(
{exclude: ["node_modules/**", "src/**"],}
),
nodeResolve()
],
external: ["cesium", "@turf/turf"]
};
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/liaoyong_0926/jesium.git
git@gitee.com:liaoyong_0926/jesium.git
liaoyong_0926
jesium
jesium
master

Search

0d507c66 1850385 C8b1a773 1850385