Skip to content

Commit

Permalink
test: testing uses optimized assets
Browse files Browse the repository at this point in the history
  • Loading branch information
liamdebeasi committed Mar 24, 2024
1 parent b63d12b commit 1350d4a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
},
Expand Down
4 changes: 0 additions & 4 deletions stencil.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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/',
Expand Down

0 comments on commit 1350d4a

Please sign in to comment.