Open yairEO opened 3 years ago
this scenario doesn't work.. I have a file which exports one function as default and one without, example:
default
//...some code.. export default foo export bar
and I want to consume both at the same time, naturally, like so:
import foo, {bar} from "file.js"
Problem is, the README doesn't address this and I couldn't find any example of how the exports setting should be written. currently it's:
exports
exports: function(file) { return 'foo'; }
Thanks!
this scenario doesn't work.. I have a file which exports one function as
default
and one without, example:and I want to consume both at the same time, naturally, like so:
Problem is, the README doesn't address this and I couldn't find any example of how the
exports
setting should be written. currently it's:Thanks!