diff --git a/package.json b/package.json index 88bba6e52..ddf4fb642 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/src/components/icon/test/icon.e2e.ts-snapshots/icon-diff-Mobile-Chrome-linux.png b/src/components/icon/test/icon.e2e.ts-snapshots/icon-diff-Mobile-Chrome-linux.png index adc216a02..b7eaa4e95 100644 Binary files a/src/components/icon/test/icon.e2e.ts-snapshots/icon-diff-Mobile-Chrome-linux.png and b/src/components/icon/test/icon.e2e.ts-snapshots/icon-diff-Mobile-Chrome-linux.png differ diff --git a/src/components/icon/test/icon.e2e.ts-snapshots/icon-diff-Mobile-Firefox-linux.png b/src/components/icon/test/icon.e2e.ts-snapshots/icon-diff-Mobile-Firefox-linux.png index c078e9e0b..8db3d179e 100644 Binary files a/src/components/icon/test/icon.e2e.ts-snapshots/icon-diff-Mobile-Firefox-linux.png and b/src/components/icon/test/icon.e2e.ts-snapshots/icon-diff-Mobile-Firefox-linux.png differ diff --git a/src/components/icon/test/icon.e2e.ts-snapshots/icon-diff-Mobile-Safari-linux.png b/src/components/icon/test/icon.e2e.ts-snapshots/icon-diff-Mobile-Safari-linux.png index 67e510a0f..0a8aca014 100644 Binary files a/src/components/icon/test/icon.e2e.ts-snapshots/icon-diff-Mobile-Safari-linux.png and b/src/components/icon/test/icon.e2e.ts-snapshots/icon-diff-Mobile-Safari-linux.png differ 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/',