diff --git a/packages/components/package.json b/packages/components/package.json index ff15f2488a..98518267d4 100644 --- a/packages/components/package.json +++ b/packages/components/package.json @@ -26,7 +26,7 @@ "scripts": { "dev": "stencil build --dev --port 9200 --serve --watch --docs --docs-readme", "start": "stencil build --dev --watch --docs --docs-readme", - "build": "stencil build --docs-readme", + "build": "rimraf dist && stencil build --docs-readme", "clean": "rimraf www dist loader loaders", "test": "pnpm run unit", "unit": "stencil test --spec",