Hi,
We have system using React+TypeScript base on AMD system
module. We would like to add your library ej2-react-diagrams to our application.
Question is it possible without migrating to SystemJS? Maybe
some examples or suggestions?
Hi,
I will try to to give you a little more details :)
I have d.ts
file where I store all my external definitions of types example:
///
<reference path="react/react-global.d.ts" />
///
<reference path="requirejs/require.d.ts" />
///
<reference path="classnames/classnames.d.ts" />
///
<reference path="underscore/underscore.d.ts" />
In this file I would like to add:
///
<reference
path="../../node_modules/@syncfusion/ej2-react-diagrams/index.d.ts"
/>
How ever build will fail with errors like this:
Error Build:Cannot find module
'./diagram'
Error Build:Cannot find module
'./symbol-palette'
Error Build:Cannot find module
'./overview'
Error Build:Cannot find module
'@syncfusion/ej2-react-base'
Error Build:Cannot find module
'@syncfusion/ej2-diagrams'