diff --git a/frontend/package.json b/frontend/package.json index ac48f888172..1c4ebf589e3 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -36,7 +36,7 @@ ".(ts|tsx|js|jsx)": "./node_modules/ts-jest/preprocessor.js" }, "transformIgnorePatterns": [ - "/node_modules/(?!(lodash-es|@novnc)/.*)" + "/node_modules/(?!(lodash-es|@novnc|@spice-project)/.*)" ], "testRegex": "/__tests__/.*\\.(ts|tsx|js|jsx)$", "setupFiles": [ diff --git a/frontend/webpack.config.ts b/frontend/webpack.config.ts index 83fe2d740e3..f4c0ec4fb4f 100644 --- a/frontend/webpack.config.ts +++ b/frontend/webpack.config.ts @@ -34,7 +34,7 @@ const config: webpack.Configuration = { { test: /\.glsl$/, loader: 'raw!glslify' }, { test: /(\.jsx?)|(\.tsx?)$/, - exclude: /node_modules\/(?!(@novnc)\/).*/, + exclude: /node_modules\/(?!(@novnc|@spice-project)\/).*/, use: [ { loader: 'cache-loader' }, {