Closed azl397985856 closed 4 years ago
如下代码。 webpack 是怎么打包的? 打包之后会生成什么样的bundle? 运行时又是怎么调度的?
src ---main.js ---moduleA.js ---moduleB.js /** * moduleA.js */ export default function testA() { console.log('this is A'); } /** * main.js */ import testA from './moduleA'; testA(); import('./moduleB').then(module => { })
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
如下代码。 webpack 是怎么打包的? 打包之后会生成什么样的bundle? 运行时又是怎么调度的?