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: /./,
}),
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",
};