alexk111 / SVG-Morpheus

JavaScript library enabling SVG icons to morph from one to the other. It implements Material Design's Delightful Details transitions. (THIS PROJECT IS NOT MAINTAINED ANYMORE)
MIT License
2.7k stars 241 forks source link

Webpack support #24

Closed ahamo closed 8 years ago

ahamo commented 8 years ago

Firstly, great library.

Had a little issue using it with Webpack.

However empty object was being returned. Ended up changing the default src file to the unminified version and exposing by - module.exports = SVGMorpheus

Is there a better way to import this file for use with Webpack?

Cheers

alexk111 commented 8 years ago

@ahamo That should work ok now. Please get the version 0.3.1 and try again.

ahamo commented 8 years ago

Thanks Alex, you're a champ @alexk111

chogarcia commented 8 years ago

would you please upgrade npm module?