XrmDefinitelyTyped icon indicating copy to clipboard operation
XrmDefinitelyTyped copied to clipboard

To isolatedModules or Not to isolatedModules

Open MadButcher opened this issue 2 years ago • 1 comments

Is your feature request related to a problem? Please describe. A lot of modern bundler and build tools require "isolatedModules" set to true. That means const enums cannot be used with thoose tools and therefore I am using a customised webpack configuration to build the client code, since one of the many benefits of this library are the generated enums.

Describe the solution you'd like I would like to start a discussion on what could or should be the right way moving this project forward. Maybe you already have plans. If so, whar arey they?

Describe alternatives you've considered n/a

Additional context n/a

MadButcher avatar Jan 14 '22 15:01 MadButcher

We are well aware that XrmDT relies on a structure that's not 100% up to date, causing issues in some build tools. We haven't had the chance to look further into the possibilities though - for the time being, we're sticking to the tool chains we already have.

misoeli avatar Feb 17 '22 22:02 misoeli