We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 766e54a commit 20513ccCopy full SHA for 20513cc
package.json
@@ -3,8 +3,8 @@
3
"version": "1.0.0",
4
"description": "Samples for the Google Maps JavaScript API.",
5
"scripts": {
6
- "build-all": "npm run build --workspaces",
7
- "clean": "bash clean.sh"
+ "build-all": "npm run clean && npm run build --workspaces",
+ "clean": "bash samples/clean.sh"
8
},
9
"workspaces": [
10
"samples/*"
samples/clean.sh
@@ -1,7 +1,4 @@
1
#!/bin/bash
2
-# Remove the global dist folder.
-rm -rf "../dist"
-
-# Remove dist folders from each sample subdirectory.
-find * -type d -name "dist" -exec rm -rf {} +
+# Remove the global dist/samples folder.
+rm -rf "dist/samples"
0 commit comments