If the webpack is adopted, is it necessary to pack larger packages together?

  node.js, question

Bags like e charters. Is it better to pack it in at the time of writing, and then introduce it through require? Or is it directly introduced in html with script and then invoked?

Since the webpack is used, it is recommended to introduce it as much as possible by means of require.