A demo of how to use dynamic import()
expressions with TypeScript and webpack.
- TypeScript 2.4: Dynamic import() Expressions
- Code-Splitting a TypeScript Application with import() and webpack
yarn install
yarn start
Now open http://localhost:8080/
in the browser.