Skip to content

Make the client- and serverside builds the same #3

Description

@marcveens

Currently we compile the clientside bundle to ES5 and the serverside bundle to ES2018. It might be a good idea to keep those equal to each other. This way we have a certainty that the code behaves the same everywhere.

An issue I ran across was the creating an instance of a class with properties in it, like this for example:

public class Car {
 public wheels: number;
 public doors: number;
}

Clientside we can create a new instance of Car and access the wheels and doors properties.

Serverside we can create a new instance of Car, but the instance doesn't contain the properties anymore.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions