jakoblind / webpack-autoconf

A tool to create frontend apps using webpack, Parcel or Snowpack
https://createapp.dev/
873 stars 78 forks source link

Support Rollup #46

Open janus opened 5 years ago

janus commented 5 years ago

Please add support for Rollup

jakoblind commented 5 years ago

I have been thinking about this. Do you mostly use rollup for creating libs or apps? What kind of features do you use? Any links to relevant docs, boilerplates, etc would be very much appreciated :) i'm not a big rollup user so all help is useful here

theajr commented 4 years ago

@jakoblind I would like to work on this.

jakoblind commented 4 years ago

awesome @theajr ! This is a big task so let's focus on shipping something small but useful first. I know that svelte uses rollup as their "default" build tool, so I'm thinking to support svelte only as a first version. What do you think?

Also before starting to code, we should agree on what the generated rollup should look like.

theajr commented 4 years ago

@jakoblind

I agree.

I did code to support normal, Babel, Typescript for Rollup already.

Used RollUp's JS template for the configs for JS & Babel. Used Typescript Plugin usage sample for typescript config.

I will raise a PR in couple of minutes so that you can provide some feedback.

janus commented 4 years ago

@jakoblind This is janus the chap that created this issue, I would be willing to work with @theajr to develop my skill.

jakoblind commented 4 years ago

@janus if you still have some time to help, we could use some support on https://github.com/jakoblind/webpack-autoconf/pull/69 . There is some problem with typescript

Jogai commented 4 years ago

FYI: Vue 3 is using rollup as well (vite for development and then rollup for production bundling).