summaryrefslogtreecommitdiff
path: root/web/config-overrides.js
diff options
context:
space:
mode:
Diffstat (limited to 'web/config-overrides.js')
-rw-r--r--web/config-overrides.js11
1 files changed, 11 insertions, 0 deletions
diff --git a/web/config-overrides.js b/web/config-overrides.js
new file mode 100644
index 000000000..b357a4e9d
--- /dev/null
+++ b/web/config-overrides.js
@@ -0,0 +1,11 @@
+const rewiredEsbuild = require("react-app-rewired-esbuild");
+
+module.exports = function override(config, env) {
+ // No additional config just want esbuild instead of babel
+ return rewiredEsbuild()(config, env);
+};
+
+// use `customize-cra`
+const { override } = require("customize-cra");
+
+module.exports = override(rewiredEsbuild());