anthonyshort / grunt-component-build

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

Fixed plugins: .conf to .config; use path relative to components #15

Closed jdeal closed 11 years ago

jdeal commented 11 years ago

builder.js 0.7.0 changed .conf to .config: https://github.com/component/builder.js/commit/f5289e3fe101a053f393bfc92ce8ffef81da20a3

The path of templates and coffee files was being used to read the file, but the path needs to be relative to the component. Used path.resolve and path.join for this.

Note that there were no tests for plugins, and I didn't add any.

kewah commented 11 years ago

Thanks.

Note that there were no tests for plugins, and I didn't add any.

There are no tests for plugins because they should be on different repositories (imho).

@anthonyshort could you publish, please :)