diff --git a/gulpfile.js b/gulpfile.js index 4675138b52..79590794a2 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -29,6 +29,8 @@ function compileTs(modules = false) { '!src/stories/**/*', '!src/**/__stories__/**/*', '!src/**/__tests__/**/*', + '!src/**/__mocks__/**/*', + '!src/**/*.test.{ts,tsx}', ]) .pipe( replace(/import '.+\.scss';/g, (match) =>