豆豆友情提示:这是一个非官方 GitHub 代理镜像,主要用于网络测试或访问加速。请勿在此进行登录、注册或处理任何敏感信息。进行这些操作请务必访问官方网站 github.com。 Raw 内容也通过此代理提供。
Skip to content

Commit f71fcc1

Browse files
Piotr Paulskizyzyzyryxy
authored andcommitted
chore: remove file unused after bundling to not publish it unnecessarily.
1 parent f028f8c commit f71fcc1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"main": "index.js",
88
"scripts": {
99
"clean": "node -e \"require('fs').rmSync('build', {recursive: true, force: true})\"",
10-
"bundle": "npm run clean && npm run build && rollup -c rollup.config.mjs && node -e \"require('fs').rmSync('build/node_modules', {recursive: true, force: true})\"",
10+
"bundle": "npm run clean && npm run build && rollup -c rollup.config.mjs && node -e \"['build/node_modules', 'build/src/third_party/devtools.js', 'build/src/third_party/devtools.js.map'].forEach(p => require('fs').rmSync(p, {recursive: true, force: true}))\"",
1111
"build": "tsc && node --experimental-strip-types --no-warnings=ExperimentalWarning scripts/post-build.ts",
1212
"typecheck": "tsc --noEmit",
1313
"format": "eslint --cache --fix . && prettier --write --cache .",

0 commit comments

Comments
 (0)