use "files" to only ship necessary files
This commit is contained in:
parent
9ad31d8d3f
commit
0f6d40c631
2 changed files with 3 additions and 5 deletions
|
@ -1,5 +0,0 @@
|
||||||
example
|
|
||||||
src
|
|
||||||
package-lock.json
|
|
||||||
tsconfig.json
|
|
||||||
.prettierrc
|
|
|
@ -16,6 +16,9 @@
|
||||||
"url": "git+https://github.com/smnhgn/vite-plugin-package-version.git"
|
"url": "git+https://github.com/smnhgn/vite-plugin-package-version.git"
|
||||||
},
|
},
|
||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
|
"files": [
|
||||||
|
"dist"
|
||||||
|
],
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"clean": "rm -rf dist",
|
"clean": "rm -rf dist",
|
||||||
"build": "npm run clean && tsup src/index.ts --dts",
|
"build": "npm run clean && tsup src/index.ts --dts",
|
||||||
|
|
Loading…
Reference in a new issue