Skip to content

Commit

Permalink
Replace webpack with esbuild for builds (#518)
Browse files Browse the repository at this point in the history
  • Loading branch information
piotrze authored Oct 10, 2023
1 parent be5ca55 commit 02964bb
Show file tree
Hide file tree
Showing 32 changed files with 1,060 additions and 1,222 deletions.
1,027 changes: 781 additions & 246 deletions gui/graphql/package-lock.json

Large diffs are not rendered by default.

11 changes: 3 additions & 8 deletions gui/graphql/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,16 @@
"description": "",
"main": "",
"scripts": {
"start": "webpack-cli -w --node-env=development",
"build": "webpack-cli --node-env=production"
"start": "esbuild src/index.jsx --bundle --outfile=public/main.js --loader:.js=jsx --format=cjs --watch",
"build": "esbuild src/index.jsx --bundle --outfile=public/main.js --loader:.js=jsx --format=cjs --minify"
},
"keywords": [],
"author": "platformOS",
"license": "MIT",
"devDependencies": {
"css-loader": "^5.2.7",
"esbuild-loader": "^2.21.0",
"style-loader": "^2.0.0",
"webpack": "^5.35.0",
"webpack-cli": "^5.1.3"
"esbuild": "^0.19.4"
},
"dependencies": {
"@graphiql/plugin-explorer": "^0.3.5",
"assert": "^2.0.0",
"graphiql": "^3.0.6",
"graphql": "^15.8.0",
Expand Down
7 changes: 0 additions & 7 deletions gui/graphql/public/105.js

This file was deleted.

1 change: 0 additions & 1 deletion gui/graphql/public/178.js

This file was deleted.

1 change: 0 additions & 1 deletion gui/graphql/public/198.js

This file was deleted.

Loading

0 comments on commit 02964bb

Please sign in to comment.