tried to see how far I can get with running vite in our app and I ran into a few instances that required me to specify in vite.config
optimizeDeps: {
include: ['ember-intl > fast-memoize', 'miragejs > lodash.assign']
}
in order to have vite server actual ESM to the browser when the respective modules are requested.
this may be related to those addons being in rewritten-packages thus under a level of /mode_modules/ thus somehow hidden from the normal pre-bundling
tried to see how far I can get with running vite in our app and I ran into a few instances that required me to specify in vite.config
in order to have vite server actual ESM to the browser when the respective modules are requested.
this may be related to those addons being in rewritten-packages thus under a level of /mode_modules/ thus somehow hidden from the normal pre-bundling