From 1350d4a5b1356ed4c463b55e4a6bd0a86a2e305c Mon Sep 17 00:00:00 2001 From: Liam DeBeasi Date: Sun, 24 Mar 2024 17:16:27 -0400 Subject: [PATCH] test: testing uses optimized assets --- package.json | 5 +++-- stencil.config.ts | 4 ---- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/package.json b/package.json index 92f71396f..395c52b85 100755 --- a/package.json +++ b/package.json @@ -14,11 +14,12 @@ "collection": "dist/collection/collection-manifest.json", "collection:main": "dist/collection/index.js", "scripts": { - "build": "tsc -p scripts/tsconfig.json && npm run build.files && npm run build.component && npm run collection.copy", + "compile.scripts": "tsc -p scripts/tsconfig.json", + "build": "npm run compile.scripts && npm run build.files && npm run build.component && npm run collection.copy", "build.files": "node scripts/build.js", "build.component": "stencil build", "collection.copy": "node scripts/collection-copy.js", - "start": "stencil build --dev --watch --serve", + "start": "npm run compile.scripts && npm run build.files && stencil build --dev --watch --serve", "test": "npm run test.spec", "test.spec": "stencil test --spec" }, diff --git a/stencil.config.ts b/stencil.config.ts index c8b01b34b..ce54aa906 100755 --- a/stencil.config.ts +++ b/stencil.config.ts @@ -23,10 +23,6 @@ export const config: Config = { src: './components/test/*.svg', dest: './assets/', }, - { - src: './svg/*.svg', - dest: './build/svg/', - }, { src: './components/test/', dest: './test/',