Skip to content

Commit a5cb59d

Browse files
authored
fix: config gulpfile for tests
Release-As: 2.18.0
1 parent b31fceb commit a5cb59d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

gulpfile.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,10 @@ function compileTs(modules = false) {
2828
'!src/demo/**/*.{js,jsx,ts,tsx}',
2929
'!src/stories/**/*.{js,jsx,ts,tsx}',
3030
'!src/**/__stories__/**/*.{js,jsx,ts,tsx}',
31+
'!src/**/__tests__/**/*',
3132
'!src/server.ts',
3233
'!src/configure.ts',
34+
'!test-utils/**/*',
3335
])
3436
.pipe(
3537
replace(/import '.+\.scss';/g, (match) =>
@@ -54,6 +56,8 @@ task('copy-js-declarations', () => {
5456
'!src/demo/**/*.d.ts',
5557
'!src/stories/**/*.d.ts',
5658
'!src/**/__stories__/**/*.d.ts',
59+
'!src/**/__tests__/**/*.d.ts',
60+
'!test-utils/**/*.d.ts',
5761
])
5862
.pipe(dest(path.resolve(BUILD_CLIENT_DIR, ESM_DIR)))
5963
.pipe(dest(path.resolve(BUILD_CLIENT_DIR, CJS_DIR)));

0 commit comments

Comments
 (0)