Jump to content

[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


User Feedback

Create an account or sign in to leave a review

You need to be a member in order to leave a review

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

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...