From 2a14ab1e21a8d67544537686c848f922f646fe77 Mon Sep 17 00:00:00 2001 From: Linden <65407488+thelindat@users.noreply.github.com> Date: Sun, 31 Oct 2021 06:48:30 +1100 Subject: [PATCH] refactor(webpack): update patterns and do not minify --- webpack.config.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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", };