meteor-lazy-bundles icon indicating copy to clipboard operation
meteor-lazy-bundles copied to clipboard

Incompatible with Meteor 1.2

Open dbismut opened this issue 10 years ago • 5 comments

Hi - thanks for the amazing package.

Unfortunately, with Meteor 1.2, the plugin triggers the following error in the terminal:

While loading plugin `compileBundles` from package `numtel:lazy-bundles`:
   module.js:338:15: Cannot find module

dbismut avatar Sep 24 '15 15:09 dbismut

With the new build system in 1.2, it looks like everything has changed related to the way this package works. It's not just a simple matter of changing the paths to the build files, it seems that the package will need to account for the structural changes.

I'm not sure when I'll have time to do this so I've added the "help wanted" label in case somebody else wants to dive into it.

numtel avatar Sep 25 '15 02:09 numtel

thats sad

joshua1 avatar Nov 22 '15 14:11 joshua1

Yeah... :disappointed:

I have looked at this for a few hours since. With the filenames for the Meteor tool files updated, the compiler only gives a list of the included files, not the output of the final version. I'll try to take another look into this soon, it would be nice to have it fixed.

numtel avatar Nov 25 '15 02:11 numtel

Since that was important for me, I decided to have a go with Webpack + React and code splitting. It's hard to get used to it, coming from Meteor build system and Blaze and switching to Webpack to React require some time to get used to, but it does seem to work.

dbismut avatar Nov 25 '15 09:11 dbismut

I have had to reverse my project back to 1.1 for this singular reason.

joshua1 avatar Nov 30 '15 06:11 joshua1