Skip to content
This repository has been archived by the owner on Mar 1, 2024. It is now read-only.

Commit

Permalink
Include node_modules/@spice-project to babel transformation
Browse files Browse the repository at this point in the history
Updated rect-console requires that.
  • Loading branch information
mareklibra committed May 16, 2019
1 parent fc1a84b commit 26f5bbf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
".(ts|tsx|js|jsx)": "./node_modules/ts-jest/preprocessor.js"
},
"transformIgnorePatterns": [
"<rootDir>/node_modules/(?!(lodash-es|@novnc)/.*)"
"<rootDir>/node_modules/(?!(lodash-es|@novnc|@spice-project)/.*)"
],
"testRegex": "/__tests__/.*\\.(ts|tsx|js|jsx)$",
"setupFiles": [
Expand Down
2 changes: 1 addition & 1 deletion frontend/webpack.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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' },
{
Expand Down

0 comments on commit 26f5bbf

Please sign in to comment.