Skip to content

Commit b21cbe4

Browse files
committed
chore: rename to Yivi
1 parent 145c663 commit b21cbe4

File tree

7 files changed

+1754
-115
lines changed

7 files changed

+1754
-115
lines changed

cryptify-front-end/craco.config.js

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,15 @@
1+
const NodePolyfillPlugin = require("node-polyfill-webpack-plugin");
2+
13
module.exports = {
24
webpack: {
35
configure: (config) => {
6+
config.plugins = [...config.plugins, new NodePolyfillPlugin()];
7+
const scopePluginIndex = config.resolve.plugins.findIndex(
8+
({ constructor }) =>
9+
constructor && constructor.name === "ModuleScopePlugin"
10+
);
11+
12+
config.resolve.plugins.splice(scopePluginIndex, 1);
413
config.resolve.fallback = {
514
http: false,
615
https: false,

0 commit comments

Comments
 (0)