cyclejs-community / create-cycle-app

Create Cycle.js apps with no build configuration.
ISC License
238 stars 21 forks source link

Typescript & Javascript prompt for cycle-scripts #108

Closed nickbalestra closed 6 years ago

nickbalestra commented 7 years ago

This issue to discuss if, when, and how, to bring TS and JS together within CCA & cycle-scripts.

Issues that emerged from this:

jvanbruegge commented 7 years ago

I think the way it is in #105 is quite good. I don't see big tradeoffs. We use native ES6 templates that allow us to reduce code doublication and therefore a source of possible mistakes. Webpack blocks makes this aproach feasable. I would however move from the custom build/start scripts to just spawing the webpack cli, as this allows us to completely remove traces of the flavor on eject and not litter the working directory with scripts. (we could add this later on, as this doesnt matter pre-eject) I think the init question should be part of the flavor, not part of CCA, because they are only used by the flavor.

jvanbruegge commented 6 years ago

Done in V4