dbashford / mimosa-require

AMD/RequireJS module for Mimosa browser development workflow tool
3 stars 3 forks source link

support package and map configuration #17

Closed silver83 closed 11 years ago

silver83 commented 11 years ago

When working with the requirejs validator, it seems like it currently ignores the package and map sections : http://requirejs.org/docs/api.html#packages http://requirejs.org/docs/api.html#config-map

I've put together a test repo demonstrating how it works in the browser, yet fails mimosa-require verification : https://github.com/silver83/mimosa-require-test

I'll try to take a look at how hard it will be for me to create a pr for this.

dbashford commented 11 years ago

There is code in place to handle/deal with maps. So if something specific is not working there, there's definitely some kind of bug.

mimosa-require currently does nothing with packages. Which isn't to say that it cannot, I just hadn't received a request for it and its not something we've needed on our projects.

dbashford commented 11 years ago

Going to pull this in and get a mimosa-require release in. If you are going to hack on getting package verification in, let me know and I will wait to look at it myself.

silver83 commented 11 years ago

Planning to take a stab at it - I'll update :)