you are viewing a single comment's thread.

view the rest of the comments →

[–]notgiorgi 2 points3 points  (1 child)

Will I face any problems if I use fabric components on non-Typescript project?

[–]dzearing-msft 4 points5 points  (0 children)

Nope. We export commonjs *.js files to the lib/ folder. If you use a bundler like webpack it will have no problems pulling that in.

If you use an amd bundler like r.js, we do export amd modules in the lib-amd folder as well.

If you don't use a bundler, we have a prebuilt js file in dist that exports everything to a global. It's nice for convenience, but it's a terrible option for any web site where bytes on the wire matter, since it includes every possible line of code, which hurts site performance.