cfx-server-data
cfx-server-data copied to clipboard
feat: add webpack5 builder
Adds a builder for webpack5 (webpack
is stuck on webpack v4)
With this, people can finally build with webpack v5 only configurations, like what is required by Vue3. I'm unfamiliar with the node version in FiveM, so I don't know if you can install multiple versions of the same resource so I decided to split it into its own resource with the similar code.
You use webpack5_config
instead of webpack_config
to designate the different webpack version.