Skip to content

Commit

Permalink
refactor(webpack): update patterns and do not minify
Browse files Browse the repository at this point in the history
  • Loading branch information
thelindat committed Oct 30, 2021
1 parent 9de50f6 commit 2a14ab1
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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",
};

0 comments on commit 2a14ab1

Please sign in to comment.