1 Star 1 Fork 1

gyy/amap-jsapi-loader

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
rollup.config.js 653 Bytes
一键复制 编辑 原始数据 按行查看 历史
gyy 提交于 2年前 . init
import babel from "rollup-plugin-babel";
import compiler from "@ampproject/rollup-plugin-closure-compiler";
import rollupTypescript from 'rollup-plugin-typescript2';
export default {
input: "src/index.ts",
output: [{
file: "dist/index.js",
format: "umd",
name: "AMapLoader",
},{
file: "dist/index.cjs",
format: "cjs",
sourcemap: true
},{
file: "dist/index.mjs",
format: "es",
sourcemap: true
}],
plugins: [
rollupTypescript(),
babel({
presets: [["@babel/env", { targets: { ie: 9 } }]],
}),
compiler(),
],
};
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/guyangyang/amap-jsapi-loader.git
git@gitee.com:guyangyang/amap-jsapi-loader.git
guyangyang
amap-jsapi-loader
amap-jsapi-loader
master

搜索帮助