anthonyshort / grunt-component-build

Build Components using Grunt.
MIT License
29 stars 12 forks source link

Fix standalone output #8

Closed kewah closed 11 years ago

kewah commented 11 years ago

I fixed the output of the "standalone" option to pass the tests (see #7)

I also updated the standalone option. Like the component-build() (-s flag), we can define the name of the global variable with the standalone value.

Sorry, the require.tmpl is less readable but it's simpler to test by comparing the output files. (Assuming that component-build() has correct output files).