web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Unanswered

Compiling and Bundling Typescript for CRM

(2) ShareShare
ReportReport
Posted on by

Hi All,

We have been using TypeScript in a Project and we used Rollup to bundle the source code and related libraries.

We used 'rollup-plugin-typescript' as a plugin in the rollup.

However, the Rollup bundler does not convert some enums to it's equivalent CRM value like sample below:

XrmEnum.FormType.Create is not complied to 1.

Do you know how to fix the issue or can someone recommend another option like Webpack?

I attached my sample project below. 

Thank You All,

test2.zip

I have the same question (0)
  • Community Member Profile Picture
    on at

    To add on the question above, we would like to know how others handle modules using webpack, parcel, browserify or require?

  • kalluu91 Profile Picture
    40 on at
    Check this article for setting up a Typescript project for web resources:
     
    Cheers,
    Kim Anh

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
Martin Dráb Profile Picture

Martin Dráb 47 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 38 Super User 2025 Season 2

#3
#ManoVerse Profile Picture

#ManoVerse 31

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans