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 08ad8ca commit c629702Copy full SHA for c629702
scripts/build_npm.ts
@@ -75,3 +75,13 @@ await build({
75
76
Deno.copyFileSync("LICENSE", "npm/LICENSE");
77
Deno.copyFileSync("README.md", "npm/README.md");
78
+
79
+// Fix wrong .npmignore file
80
+Deno.writeFileSync(
81
+ "npm/.npmignore",
82
+ new TextEncoder().encode(
83
+ new TextDecoder()
84
+ .decode(Deno.readFileSync("npm/.npmignore"))
85
+ .replace("src/", "/src/"),
86
+ ),
87
+);
0 commit comments