3

I'm trying to use @atlaskit/editor-core. It works good but it outputs a 15+mb vendor.js file. I have prepared a GitHub repo to demonstrate this problem. I have two questions:

  • Are my babel.config.js and webpack.common.js files are set up correctly for optimizing bundle size?
  • Why Webpack is creating an additional 3rd file with name "@atlaskit-internal_media-viewer-pdf-viewer-bundle.min"? I'm not specifying this file in chunks section or in entry points. In my actual project it is creating more than 30 small files like this although I don't specify them.
Deniz
  • 1,575
  • 1
  • 16
  • 27

0 Answers0