Just a demonstration of different kinds of imports in pure HTML + TS stack.
For this to work, you need to download:
- pixi.min.js ->
page/js/lib
- pixi.js.d.ts ->
ts/lib
(you need a matching version of.d.ts
)
Then compile TypeScript with $ tsc
.
And, finally, start a local site in order to access module-type imports. In Windows, this can be done via IIS.