mirror of
https://github.com/darksaid98/oxmysql.git
synced 2026-12-02 14:38:50 +00:00
refactor: replace webpack with esbuild
This commit is contained in:
1 parent
b7a17d9566
commit
17c4916010
4 files changed
+14
-44
No files matched your search
+8
-11
@@ -1,26 +1,23 @@
|
||||
{
|
||||
"name": "oxmysql",
|
||||
"version": "1.0.0",
|
||||
"main": "oxmysql.js",
|
||||
"description": "node-mysql2 resource for Cfx",
|
||||
"description": "FXServer to MySQL communication via node-mysql2",
|
||||
"repository": "[email protected]:overextended/oxmysql.git",
|
||||
"author": "dunak-debug <[email protected]>",
|
||||
"license": "GPL-3.0-or-later",
|
||||
"type": "module",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"build": "webpack",
|
||||
"watch": "webpack --watch",
|
||||
"build": "esbuild --bundle --platform=node --target=node16.9.1 src/server/index.js --outfile=dist/server/build.js",
|
||||
"watch": "esbuild --watch --bundle --platform=node --target=node16.9.1 src/server/index.js --outfile=dist/server/build.js",
|
||||
"postinstall": "patch-package"
|
||||
},
|
||||
"dependencies": {
|
||||
"@citizenfx/server": "latest",
|
||||
"esbuild": "^0.14.7",
|
||||
"mysql2": "^2.3.3",
|
||||
"patch-package": "^6.4.7",
|
||||
"postinstall-postinstall": "^2.1.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"copy-webpack-plugin": "^10.0.0",
|
||||
"patch-package": "^6.4.7",
|
||||
"typescript": "^4.5.2",
|
||||
"webpack": "^5.64.4",
|
||||
"webpack-cli": "^4.9.1"
|
||||
}
|
||||
"devDependencies": {}
|
||||
}
|
||||
Reference in new issue
Block a user