Closed sachalifs closed 9 years ago
This has been resolved, you can pass arbitrary files to the duo CLI and it will copy them to the build/
directory.
# copies everything in the public directory to build/public/
$ duo public/
# copies to build/logo.svg
$ duo logo.svg
Sorry that wasn't documented more clearly, but that feature was added back in 0.9.0
@dominicbarnes Is there a way to handle it via the component.json so that I can be sure it copies the dependency assets?
And is this available from the [https://github.com/duojs/duo/blob/master/docs/api.md](Javascript API)?
@cristiandouce unfortunately, not at the moment. However, the css-compat plugin could likely be extended to cover that situation as well. (PRs welcome)
@slifszyc yeah, the CLI simply passes those arguments as entries to the JS API.
@dominicbarnes Where should I start looking? :wink:
Never mind, I think I've got it
Sorry but has this https://github.com/duojs/duo/issues/171 been solved in any way by Duo?
Or best solution is to have those assets copied in another way?