cretueusebiu / laravel-elixir-rollup

Laravel Elixir Rollup Extension
https://npmjs.com/package/laravel-elixir-rollup
MIT License
1 stars 1 forks source link

Add rollup-plugin-node-resolve #1

Open Mevrael opened 8 years ago

Mevrael commented 8 years ago

I see you already using rollup babel plugin, there is another one I am always using to make imports from node_modules working as expected rollup-plugin-node-resolve, i.e.

import { BunnyURL } from 'bunnyjs/src/url';

Would you mind to add it?

I also would recommend adding configuration options because mix.rollup() in bigger projects might be called many times and specifying each time mix.rollup(domain.js, null, a lot of options) is not good.

cretueusebiu commented 8 years ago

Sure, I'll add it. Or if you can, submit a PR.