diff --git a/.npmignore b/.npmignore new file mode 100644 index 0000000..a720c6b --- /dev/null +++ b/.npmignore @@ -0,0 +1,2 @@ +.npmignore +.npmrc \ No newline at end of file diff --git a/config/tsuprc/tsup.prod.ts b/config/tsuprc/tsup.prod.ts index 21b516b..c5b6270 100644 --- a/config/tsuprc/tsup.prod.ts +++ b/config/tsuprc/tsup.prod.ts @@ -15,6 +15,8 @@ export default defineConfig({ copy({ assets: [ { from: "./package.json", to: "./package.json" }, + { from: "./.npmrc", to: "./.npmrc" }, + { from: "./.npmignore", to: "./.npmignore" }, { from: "./README.npm.md", to: "./README.md" } ] })