Closed CitRUSprod closed 4 years ago
there's a lot of duplicated code between the webpack and rollup scripts. can we address that somehow?
I'd be fine with a single setup script that works for both and checks for the existence of rollup.config.js
or webpack.config.js
before deciding what to do.
Actually, it just struck me that we could refactor this all a bit and automatically produce four different branches (rollup
, rollup-typescript
, webpack
, webpack-typescript
) from a single branch, and get rid of the need for end users to deal with this script at all - but that should be a separate later PR.
there's a lot of duplicated code between the webpack and rollup scripts. can we address that somehow?
Done.
Add script for start use TypeScript with Webpack.