Skip to content

Replace cfx-default webpack and now is not coming leak shit

Notifications You must be signed in to change notification settings

Pintta/webpack

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Webpack

Replace cfx-server-data webpack and now is not coming leak shit. Same proplem have 2022: https://forum.cfx.re/t/random-added-local-code-random-server-scripts-in-fxmanifest/4872285/16

Clone the repo into your resources/[system]/[builders] and run npm i or any other package manager command to install the dependencies (for some reason fxserver didn't install them for me here)

Add this to your server.cfg somewhere early, preferably next to default webpack

ensure webpack
dependencies {
    'yarn',
    'webpack'
}

webpack_config 'webpack.prod.js'

Keep in mind FXServer is limited to fork of Node.js 16.9 so you WILL run into dependency issues when installing the latest and greatest stuff that might depend on Node.js 16.10+

About

Replace cfx-default webpack and now is not coming leak shit

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 98.6%
  • Lua 1.4%