adopted-ember-addons / ember-moment

MIT License
399 stars 122 forks source link

`import moment from 'moment';` does not work #292

Closed brandynbennett closed 5 years ago

brandynbennett commented 5 years ago

When I use import moment from 'moment'; as the README specifies I get an error that the module can't be found. Is this because ember-cli-moment-shim is a devDependency instead of a dependency?? Using version 7.7.0 of this addon

aaronlelevier commented 5 years ago

I installed the package earlier today, and was able to use the import moment from 'moment'; inside of a component fine.

jasonmit commented 5 years ago

Unable to reproduce, closing. If you put together a reproduction of the issue please create a new issue.