diff --git a/webpack.config.js b/webpack.config.js index 22fca4f..d0a4f6c 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -15,12 +15,15 @@ module.exports = { contextRegExp: /./, }), new CopyPlugin({ - patterns: ["fxmanifest.lua", "wrapper.lua", "README.md", "LICENSE.md"], + patterns: ["./lua", "./lua", "README.md", "LICENSE.md"], }), ], output: { filename: "oxmysql.js", path: path.resolve(__dirname, "dist"), }, + optimization: { + minimize: false, + }, target: "node", };