mirror of
https://github.com/darksaid98/oxmysql.git
synced 2026-12-02 22:22:50 +00:00
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:
5 files changed
+1425
-49
No files matched your search
@@ -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",
|
||||
};
|
||||
Reference in new issue
Block a user