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.
module
source
1 parent ee2e50b commit 85ed3f3Copy full SHA for 85ed3f3
scripts/build.mjs
@@ -2,6 +2,7 @@ import esbuild from "esbuild";
2
import { copyFile, readFile, writeFile, rm } from "node:fs/promises";
3
import { glob } from "glob";
4
5
+/** @type {esbuild.BuildOptions} */
6
const sharedOptions = {
7
sourcemap: "external",
8
sourcesContent: true,
@@ -68,7 +69,7 @@ async function main() {
68
69
default: "./dist-bundle/index.js",
70
},
71
- module: "dist-src/index.js",
72
+ source: "dist-src/index.js",
73
sideEffects: false,
74
75
null,
0 commit comments