Improve external package support #1
Description
Activity
For many external libraries, you can just <script src> it in the HTML and it will work. For example, here's a wich that uses three.js.
The big missing piece there is
@typessupport, of course. I'd like to address that somehow, probably by just preloading a bunch of common libraries for now.Ideally, I'd like it to be possible to just do
import * as THREE from 'threejs';and have it Just Work, pinning the current version, loading
@types, and loading runtime code from a CDN. That will require some thought and work though.As for Angular, which is what you specifically mentioned, that will probably require some special treatment to get compilation to consume your source + Angular in the same compilation. I need to look into it; I haven't done very much with Angular > 1 yet. It's on my todo list, though.
- changed the title
[-]How do I import stuff from other projects[/-][+]Improve external package support[/+]on Mar 27, 2017 I'd love to use this with @types support and create react/redux component examples. The libraries I'd need preloaded are
react,react-redux, andredux
I wanted to include angular 2 project, but didn't find any way of doing it