fix: Type casting, removed old query format, dont prepare execute/insert

- fixed https://github.com/overextended/oxmysql/issues/6
- fixed https://github.com/overextended/oxmysql/issues/7
- fixed https://github.com/overextended/oxmysql/issues/8
- fixed https://github.com/overextended/oxmysql/issues/9
- closes https://github.com/overextended/oxmysql/issues/12
- support for modified named-placeholders package patch
This commit is contained in:
dunak-debug committed 2021-09-12 16:46:38 +02:00
1 parent 94bd814186
commit 04e03e4fef
5 files changed
+1425 -49

No files matched your search

+29
View File
@@ -0,0 +1,29 @@
const path = require("path");
const { DefinePlugin, IgnorePlugin } = require("webpack");
const CopyPlugin = require("copy-webpack-plugin");
const filesToCopy = ["fxmanifest.lua", "wrapper.lua", "README.md", "LICENSE.md"];
module.exports = {
mode: "development",
devtool: "source-map",
entry: "./oxmysql.js",
resolve: {
extensions: [".js"],
},
plugins: [
new DefinePlugin({ "global.GENTLY": false }),
new IgnorePlugin({
resourceRegExp: /^cardinal$/,
contextRegExp: /./,
}),
new CopyPlugin({
patterns: filesToCopy,
}),
],
output: {
filename: "oxmysql.js",
path: path.resolve(__dirname, "dist"),
},
target: "node",
};