Closed jeerbl closed 7 years ago
@zackbloom @marcneuwirth @adamschwartz can we please get this in and released. This blocks odometer from being able to be used in more modern tools like webpack, when we aren't using jquery (which is quickly becoming common). I really need this so I can use this in our react app. Thank you very much!
Hello guys!
Any news on this? Can we merge this?
Thanks, Jérôme
Please release that change ! I'm not using jQuery in my app and that is a blocker... Thanks for this great library !
A temporary workaround for this is doing the same thing you would do for backbone without jQuery.
My webpack 2 config looks something like this:
module: {
loaders: [
{
test: /(backbone|odometer)\.js$/,
loader: 'imports-loader?define=>false'
}
]
},
plugins: [
new webpack.IgnorePlugin(/^jquery$/)
]
Make sure to npm install the imports-loader
Sorry to ask again but, where are we on this? Is there anything holding up?
@zackbloom @flex69
Thanks, Jérôme
Sorry for the delay @jeerbl
Do you need to bump a new version to npm so we can get access to it? I'm having issues getting yarn to see the update.
Published as v0.4.8
Refering to #127.
This change is