Skip to content

Commit 1220d5c

Browse files
authored
Remove docs from NPM bundle; they're pretty large (#858)
1 parent 5992e1d commit 1220d5c

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

package.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,7 @@
1616
"module": "dist/react-window.js",
1717
"types": "dist/react-window.d.ts",
1818
"files": [
19-
"dist",
20-
"docs"
19+
"dist"
2120
],
2221
"scripts": {
2322
"dev": "vite",
@@ -28,7 +27,7 @@
2827
"compile:code-snippets": "node --loader ts-node/esm ./scripts/code-snippets/run.ts",
2928
"compile:docs": "node --loader ts-node/esm ./scripts/docs/run.ts",
3029
"lint": "eslint .",
31-
"prerelease": "rm -rf dist && rm -rf docs && pnpm run build",
30+
"prerelease": "rm -rf dist && pnpm run build:lib",
3231
"prettier": "prettier --write \"**/*.{css,html,js,json,jsx,ts,tsx}\"",
3332
"prettier:ci": "prettier --check \"**/*.{css,html,js,json,jsx,ts,tsx}\"",
3433
"preview": "vite preview",

0 commit comments

Comments
 (0)