just icon indicating copy to clipboard operation
just copied to clipboard

Proposal: Rollup task

Open Thisen opened this issue 6 years ago • 7 comments

I propose adding a task for Rollup.

Rollup is used by many to optimize their libraries and is a solid tool. Webpack doesn't have esm support yet.

Thisen avatar Jun 20 '19 07:06 Thisen

yeah, it would be great to have it !. I never used rollup but it seems they support config files so I guess it can be pretty much similar to the webpack tasks!

anikethsaha avatar Jun 27 '19 18:06 anikethsaha

Webpack DEFINITELY has esm support, but rollup is a good task to have. Although I don't want to make the mistake of making an impression that people need to have wrappers on every tool to get productive with this library. Perhaps I should have a "execTask" and a "nodeTask" for out of box flexibility?

kenotron avatar Jul 02 '19 18:07 kenotron

like execTask or nodeTask to run other commands (CLI cmds) or to run other tasks? maybe spawnTask kind of thing may work ! not sure though

anikethsaha avatar Jul 02 '19 18:07 anikethsaha

@kenotron I wasnt clear in my description, what I meant by es modules support was that Webpack doesnt have libraryTarget: 'esm', as described here: https://github.com/webpack/webpack/issues/2933

Thisen avatar Jul 03 '19 05:07 Thisen

I can also contribute to those tasks, if needed.

Thisen avatar Jul 03 '19 05:07 Thisen

oh yes, for that you need rollup! for sure! I'm a bit busy working on the build cache stuff ATM... if you want to contrib, you'll get to see it in the codebase faster :) Much like the eslint task :P

kenotron avatar Jul 04 '19 00:07 kenotron

Issues seem to have gone stale.

github-actions[bot] avatar Mar 09 '20 00:03 github-actions[bot]