Skip to content

Commit

Permalink
⚙️ Chore(tsuprc): add copy .npmignore and .npmrc to dist folder
Browse files Browse the repository at this point in the history
  • Loading branch information
INeedJobToStartWork committed Mar 5, 2024
1 parent 32e677c commit a86a7e2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
.npmignore
.npmrc
2 changes: 2 additions & 0 deletions config/tsuprc/tsup.prod.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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" }
]
})
Expand Down

0 comments on commit a86a7e2

Please sign in to comment.