refactor(webpack): update patterns and do not minify

This commit is contained in:
Linden committed 2021-10-31 06:48:30 +11:00
1 parent 9de50f684f
commit 2a14ab1e21
1 file changed
+4 -1
+4 -1
View File
@@ -15,12 +15,15 @@ module.exports = {
contextRegExp: /./, contextRegExp: /./,
}), }),
new CopyPlugin({ new CopyPlugin({
patterns: ["fxmanifest.lua", "wrapper.lua", "README.md", "LICENSE.md"], patterns: ["./lua", "./lua", "README.md", "LICENSE.md"],
}), }),
], ],
output: { output: {
filename: "oxmysql.js", filename: "oxmysql.js",
path: path.resolve(__dirname, "dist"), path: path.resolve(__dirname, "dist"),
}, },
optimization: {
minimize: false,
},
target: "node", target: "node",
}; };