Skip to content

Commit 71938d0

Browse files
authored
test: use optimized assets (#1354)
1 parent e81ddbd commit 71938d0

File tree

5 files changed

+3
-6
lines changed

5 files changed

+3
-6
lines changed

package.json

+3-2
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,12 @@
1414
"collection": "dist/collection/collection-manifest.json",
1515
"collection:main": "dist/collection/index.js",
1616
"scripts": {
17-
"build": "tsc -p scripts/tsconfig.json && npm run build.files && npm run build.component && npm run collection.copy",
17+
"compile.scripts": "tsc -p scripts/tsconfig.json",
18+
"build": "npm run compile.scripts && npm run build.files && npm run build.component && npm run collection.copy",
1819
"build.files": "node scripts/build.js",
1920
"build.component": "stencil build",
2021
"collection.copy": "node scripts/collection-copy.js",
21-
"start": "stencil build --dev --watch --serve",
22+
"start": "npm run compile.scripts && npm run build.files && stencil build --dev --watch --serve",
2223
"test": "npm run test.spec",
2324
"test.spec": "stencil test --spec"
2425
},
Loading
Loading
Loading

stencil.config.ts

-4
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,6 @@ export const config: Config = {
2323
src: './components/test/*.svg',
2424
dest: './assets/',
2525
},
26-
{
27-
src: './svg/*.svg',
28-
dest: './build/svg/',
29-
},
3026
{
3127
src: './components/test/',
3228
dest: './test/',

0 commit comments

Comments
 (0)