Skip to content

Commit a919b71

Browse files
committed
chore: remove CRA and move to a pure esbuild build
react-scripts is deprecated and its dependencies are a source of vulnerabilties. This moves the build to a pure esbuild more in line with other projects.
1 parent 1be6263 commit a919b71

File tree

9 files changed

+5826
-28549
lines changed

9 files changed

+5826
-28549
lines changed

.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@ bower_components
3636

3737
# Compiled binary addons (https://nodejs.org/api/addons.html)
3838
build/Release
39+
ui/build
40+
ui/test-results
3941

4042
# Dependency directories
4143
node_modules/
@@ -101,3 +103,6 @@ dist
101103

102104
# TernJS port file
103105
.tern-port
106+
107+
# Downloaded binaries
108+
binaries

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ debug: ## Start the extension in debug mode
2121

2222
hot-reload: ## Enable hot reloading
2323
docker extension dev ui-source $(IMAGE) http://localhost:3000
24-
cd ui/ && npm start
24+
cd ui/ && npm run dev
2525

2626
stop-hot-realoading: ## Disable hot reloading
2727
docker extension dev reset $(IMAGE)

0 commit comments

Comments
 (0)