Closed tajakobsen closed 4 years ago
To be able to create typings we should defined modules that can be looked up in a "typings" folder. Since the paths used by enonic includes slashes (e.g "/lib/xp/content"), maybe we can create aliases without slashes.
The JavaScript interop issue has been solved by using TypeScript to declare __non_webpack_require with the correct mappings to libraries.
__non_webpack_require
To be able to create typings we should defined modules that can be looked up in a "typings" folder. Since the paths used by enonic includes slashes (e.g "/lib/xp/content"), maybe we can create aliases without slashes.