2023-11-13 15:51:43 +00:00
|
|
|
export default [
|
|
|
|
{
|
|
|
|
entryPoints: {
|
|
|
|
"data-structure-typed": "src/index.ts"
|
|
|
|
},
|
|
|
|
target: 'es5',
|
|
|
|
format: ["iife"],
|
|
|
|
clean: true,
|
|
|
|
sourcemap: true,
|
|
|
|
minify: true,
|
|
|
|
outDir: "dist/umd",
|
|
|
|
globalName: "dataStructureTyped",
|
|
|
|
platform: "browser",
|
|
|
|
bundle: true,
|
|
|
|
outExtension() {
|
|
|
|
return {
|
|
|
|
js: `.min.js`,
|
|
|
|
}
|
|
|
|
},
|
2023-10-27 14:30:52 +00:00
|
|
|
},
|
2023-11-13 04:50:33 +00:00
|
|
|
{
|
|
|
|
entryPoints: {
|
|
|
|
"data-structure-typed": "src/index.ts"
|
|
|
|
},
|
2023-11-13 15:51:43 +00:00
|
|
|
target: 'es6',
|
2023-11-13 04:50:33 +00:00
|
|
|
format: ["iife"],
|
|
|
|
clean: true,
|
|
|
|
sourcemap: false,
|
|
|
|
minify: false,
|
|
|
|
outDir: "dist/umd",
|
|
|
|
globalName: "dataStructureTyped",
|
|
|
|
platform: "browser",
|
|
|
|
bundle: true,
|
|
|
|
outExtension() {
|
|
|
|
return {
|
|
|
|
js: `.js`,
|
|
|
|
}
|
|
|
|
},
|
2023-11-13 15:51:43 +00:00
|
|
|
}
|
|
|
|
];
|