-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Webpack issue with isotope-packery #1359
Comments
Thanks for submitting this issue. I'm not able to run into this issue. Install Isotope & isotope-packery npm install isotope-layout isotope-packery Create a script // main.js
var Isotope = require('isotope-layout');
require('isotope-packery');
var iso = new Isotope('.grid', {
layoutMode: 'packery'
}); Then run Webpack webpack main.js bundle.js No need for config with |
Thanks for the directions. I'm still running into what I think is the same issue, with a slightly different error in the console:
Looking inside the packery js, it's this piece that's causing the error:
Which makes me wonder if the problem is that it's looking for FYI I'm using the webpacker gem in Rails 5.1, in case that might resolve this somewhat differently. |
Okay, I've released packery layout mode v2.0.1, which now uses |
Hi @desandro I'm posting here as it's vaguely related - I'm having an issue with FWIW I've looked at the commit history and nothing springs out. Thanks,
|
@homerjam Thanks for reporting this issue. I was unable to reproduce your issue. Double-check you have isotope-layout v3.0.6 and isotope-packery v2.0.1 |
@homerjam @desandro same here; I can confirm both 3.0.6 and 2.0.1 are in use. |
Yeah I've exactly the same problem as @jrgd - have tried using various version combinations of both |
Is there any solution? Got same issue |
This is a similar issue to #979, but specific to the isotope-packery plugin. When I run webpack, I get the following error:
In that application.js file, I'm requiring
isotope-layout
andisotope-packery
like:I am also trying to alias as mentioned in the other issue, with this in my config:
Everything seems to be working with
isotope-layout
, but I'm a bit baffled how to properly incorporate packery, and it isn't mentioned in the webpack docs here https://isotope.metafizzy.co/extras.html#webpack how to include the plugin.The text was updated successfully, but these errors were encountered: