Dynamic Imports
参考:
import() – Module Methods | Webpack [Official]
Dynamic Imports – Code Splitting | Webpack [Official]
@babel/plugin-syntax-dynamic-import | Babel [Official]
使い方
参考:
Webpack で Dynamic import を行ってみる – Qiita
TypeScript と Webpack を使って Dynamic Import を行う | メモログ
Webpack and Dynamic Imports: Doing it Right – Frontend Weekly – Medium
Code splitting with webpack dynamic import in React | Pusher Blog
Webpack 3, Dynamic Imports, Code Splitting, and Long Term Caching… Made Easy. | CloudBoost
Dynamic imports with prefetch and preload – wanago.io | Marcin Wanago Blog
How to use webpack dynamic imports for submodules? – Stack Overflow
クラスを動的に import する
参考:
Webpack – Dynamically importing a class – Stack Overflow
webpackChunkName
参考:
import() – Module Methods | Webpack [Official]
Webpack and Dynamic Imports: Doing it Right – Frontend Weekly – Medium
webpackMode
"lazy"
"lazy-once"
"eager"
"weak"
参考:
import() – Module Methods | Webpack [Official]
Webpack and Dynamic Imports: Doing it Right – Frontend Weekly – Medium