Webpack configuration for compiling module in node_modules

后端 未结 3 626
一向
一向 2020-12-30 14:23

I have problem with my webpack/babel configuration. I have installed my component-repository (es6 module without webpack configuration inside) as node_module. And in this s

3条回答
  •  情歌与酒
    2020-12-30 14:53

    Many projects that are used as dependencies make sure to compile down to ES5 before an npm publish.

    This is useful for a couple reasons.

    1. The code can simply be added to a web browser with a
提交回复
热议问题