项目列表和分包单位以及迁移人员
This commit is contained in:
25
node_modules/@amap/amap-jsapi-loader/rollup.config.js
generated
vendored
Normal file
25
node_modules/@amap/amap-jsapi-loader/rollup.config.js
generated
vendored
Normal file
@ -0,0 +1,25 @@
|
||||
import server from "rollup-plugin-server";
|
||||
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",
|
||||
},
|
||||
plugins: [
|
||||
rollupTypescript(),
|
||||
babel({
|
||||
presets: [["@babel/env", { targets: { ie: 9 } }]],
|
||||
}),
|
||||
compiler(),
|
||||
server({
|
||||
contentBase: "./",
|
||||
host: "127.0.0.1",
|
||||
port: 3601,
|
||||
}),
|
||||
],
|
||||
};
|
Reference in New Issue
Block a user