DEV Community

loading...

Discussion on: JavaScript predictions for 2019 by npm

Collapse
steveblue profile image
Steve Belovarich

What exactly do you mean? If the library is distributed as esm, you would just import the methods you need with import. If the library is distributed as commonjs, you require them. A bundler like Webpack, Rollup, Parcel, or SystemJS would be needed to bundle everything together just like any other JavaScript project.