webpack.js.org icon indicating copy to clipboard operation
webpack.js.org copied to clipboard

a question about Module Formats

Open congxiaobai opened this issue 3 years ago • 3 comments

Use webpakck5 ,I find that webpakck5 could parse both ESM and Commonjs without finger out the moudle type explicitly. I really curious about the what happened under the hood . Can you tell me please?

congxiaobai avatar Sep 08 '21 15:09 congxiaobai

For maintainers only:

  • [ ] webpack-4
  • [ ] webpack-5
  • [ ] bug
  • [ ] critical-bug
  • [ ] enhancement
  • [ ] documentation
  • [ ] performance
  • [ ] dependencies
  • [ ] question

webpack-bot avatar Sep 08 '21 15:09 webpack-bot

Maybe we can describe simple examples what happens from source code to bundle

alexander-akait avatar Sep 08 '21 15:09 alexander-akait

I will appreciate it。

congxiaobai avatar Sep 09 '21 03:09 congxiaobai