Skip to content

Commit 53867a3

Browse files
committed
Only clear output directory content
Prevents file listing from jumping in editors.
1 parent bf03905 commit 53867a3

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
@@ -90,7 +90,7 @@
9090
"url": "https://github.com/declandewet/common-tags"
9191
},
9292
"scripts": {
93-
"clear": "rimraf lib && rimraf es && rimraf dist",
93+
"clear": "rimraf lib/* && rimraf es/* && rimraf dist/*",
9494
"build": "npm run clear && npm run build:cjs && npm run build:es && npm run build:unpkg",
9595
"build:cjs": "babel src --out-dir lib --ignore **/*.test.js",
9696
"build:es": "cross-env BABEL_ENV=es babel src --out-dir es --ignore **/*.test.js",

0 commit comments

Comments
 (0)