Jump to content
RAGE Multiplayer Community

[Typescript + Webpack] Base client resource 1.0.0

   (2 reviews)

About This File

This package includes the base files for building client resources with Typescript. Code gets bundeld in a single rageclient.min.js file, also outputs a sourcemap.

Note: This is an NPM package for managing development dependencies.

 

Includes

- Webpack configuration

- Typescript configuration

StaticImplements decorator

Singleton pattern

 

Stargaze on GitHub:

https://github.com/StiviiK/ragemp_client_base

 Share


User Feedback

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest

ragempdev

   4 of 4 members found this review helpful 4 / 4 members

Should be useful for beginners, adding some RAGE Multiplayer-related scripting example code would make it way more useful though.

Response from the author:

[removed]

  • Like 2
Link to review
n0minal

· Edited by n0minal

  

It's pretty much useful but it's harder to debug and detect scripting errors errors since the whole code gets compile into a single boundle, although, webpack and typescript are very powerful tools and combined they make developers lifes much easier when used in client-side. 

Response from the author:

Yeah, debugging is harder with minified files, but i hope RageMP will add support for loading javascript sourcemaps to improve the error messages and the debugging experience.

Link to review
×
×
  • Create New...