-
Notifications
You must be signed in to change notification settings - Fork 82
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
Uglifier complains with Unexpected token: operator (>)
in 0.10.5
#24
Comments
can you try with https://github.com/shershen08/vue-masonry/blob/master/src/masonry.plugin.js#L19 like this ? |
I tried but it would still fail with the mentioned error (just different character place). I don't quite understand how the intermediate vue would not cause this issue -_- |
OK I'll check that today |
@patrickjahns can you check this repo i've cretaed with And it seem to work fin for me |
will do as soon as I can get around provide feedback |
Hello guys ! I Have this issue too using Nuxt.js lastest
import Vue from 'vue'
import VueMasonryPlugin from 'vue-masonry'
Vue.use(VueMasonryPlugin)
module.exports = {
/*
** Plugins
*/
plugins: ['~plugins/vue-masonry'],
/*
** Other stuffs
*/
}
<template>
<div v-masonry origin-left="false" transition-duration="0s" item-selector=".item">
<div v-masonry-tile class="item">
lol
</div>
</div>
</template> results in :
Any idea to how to fix this ? 🤔 Thanks ✋ |
@proov can you show how you included / configured the UglifyJS plugin? |
@shershen08 I dont know :( I'm using Nuxt.js right out the box, i installed it with However, i located |
@patrickjahns any news on that one ? |
I've tried to investigate that error and seem that With proper setting it should work fine.
I am open for a feedback if you say it's a bug in vue-masonry file. Please feel free to reopen if you have further considerations. But for now I see it as matter of configuration of your project, not a bug of vue-masonry plugin. |
Sorry for the delayed response - thank you very much for checking - I will see that we implement your solution and eget back to you |
Removing the intermediate vue leads to problems with UglifyJs:
Not sure how or if it can be fixed?
The text was updated successfully, but these errors were encountered: