mirror of
https://github.com/zrwusa/data-structure-typed.git
synced 2024-11-23 12:54:04 +00:00
41 lines
729 B
JavaScript
41 lines
729 B
JavaScript
export default [
|
|
{
|
|
entryPoints: {
|
|
"data-structure-typed": "src/index.ts"
|
|
},
|
|
target: 'es6',
|
|
format: ["iife"],
|
|
clean: true,
|
|
sourcemap: true,
|
|
minify: true,
|
|
outDir: "dist/umd",
|
|
globalName: "dataStructureTyped",
|
|
platform: "browser",
|
|
bundle: true,
|
|
outExtension() {
|
|
return {
|
|
js: `.min.js`,
|
|
}
|
|
},
|
|
},
|
|
{
|
|
entryPoints: {
|
|
"data-structure-typed": "src/index.ts"
|
|
},
|
|
target: 'es6',
|
|
format: ["iife"],
|
|
clean: true,
|
|
sourcemap: false,
|
|
minify: false,
|
|
outDir: "dist/umd",
|
|
globalName: "dataStructureTyped",
|
|
platform: "browser",
|
|
bundle: true,
|
|
outExtension() {
|
|
return {
|
|
js: `.js`,
|
|
}
|
|
},
|
|
}
|
|
];
|