Skip to content

Commit

Permalink
fix(gatsby-theme-stories): crypto and mini-css
Browse files Browse the repository at this point in the history
  • Loading branch information
atanasster committed Jan 11, 2022
1 parent 12a40c7 commit 6d02cf4
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 8 deletions.
2 changes: 1 addition & 1 deletion core/webpack-configs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"file-loader": "^6.2.0",
"less": "^4.1.2",
"less-loader": "^10.2.0",
"mini-css-extract-plugin": "^2.4.5",
"mini-css-extract-plugin": "1.6.2",
"path": "^0.12.7",
"postcss-loader": "^6.2.1",
"raw-loader": "^4.0.2",
Expand Down
4 changes: 4 additions & 0 deletions integrations/base-integration/src/webpack-build.ts
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,10 @@ export const webpackConfig = ({
...config.resolve?.alias,
'component-controls-bundle': bundleFilePath,
},
fallback: {
...config.resolve?.fallback,
crypto: false,
},
},
};
};
Expand Down
7 changes: 0 additions & 7 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -14540,13 +14540,6 @@ [email protected]:
schema-utils "^3.0.0"
webpack-sources "^1.1.0"

mini-css-extract-plugin@^2.4.5:
version "2.4.5"
resolved "https://registry.yarnpkg.com/mini-css-extract-plugin/-/mini-css-extract-plugin-2.4.5.tgz#191d6c170226037212c483af1180b4010b7b9eef"
integrity sha512-oEIhRucyn1JbT/1tU2BhnwO6ft1jjH1iCX9Gc59WFMg0n5773rQU0oyQ0zzeYFFuBfONaRbQJyGoPtuNseMxjA==
dependencies:
schema-utils "^4.0.0"

mini-svg-data-uri@^1.2.3:
version "1.4.3"
resolved "https://registry.yarnpkg.com/mini-svg-data-uri/-/mini-svg-data-uri-1.4.3.tgz#43177b2e93766ba338931a3e2a84a3dfd3a222b8"
Expand Down

0 comments on commit 6d02cf4

Please sign in to comment.