We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 53fa239 commit 2ab032eCopy full SHA for 2ab032e
build.config.ts
@@ -37,15 +37,23 @@ export default defineBuildConfig({
37
"rollup:options": (ctx, option) => {
38
option.output?.push(
39
{
40
- // file: "dist/index.js",
+ entryFileNames: "quran-meta.js",
41
name: "quranMeta",
42
dir: "dist",
43
format: "umd",
44
- // format: "iife",
45
- exports: "auto",
46
- preferConst: true,
47
- externalLiveBindings: false,
48
- freeze: false
+ banner: banner,
+ sourcemap: true
+ },
+ {
+ // input: "./src/index.ts",
49
+ entryFileNames: "quran-meta.min.js",
50
+ name: "quranMeta",
51
+ inlineDynamicImports: true,
52
+ dir: "dist",
53
+ format: "umd",
54
55
+ minify: true,
56
+ compact: true
57
}
58
)
59
0 commit comments