chengcyber / rollup-plugin-monaco-editor

A rollup plugin for importing monaco editor
MIT License
30 stars 4 forks source link

incredible bundle size #16

Open sunWoodsen opened 2 years ago

sunWoodsen commented 2 years ago

Hi! Glad that the broken source map problem was solved in version 0.2.1, I can't wait to upgrade and found a new problem I use the same rollup.config.js to build my package, and get wildly different sizes:

    monaco({
      languages: ['typescript', 'json', 'css', 'html'],
      //  esm: true
    }),

This is the only difference between the two configuration items

I am confused about this

chengcyber commented 2 years ago

Hi @sunWoodsen , could you provide a minimal reproduce repository? It helps me a to debug your problem.