News for hackers. Stuff that matters.
Re:Vue CLI 3: A Game Changer for Front End Development? by andyfleming on Friday August 10, 2018 @04:43PM (#17736595)
I believe the new version of create-react-app (2.0) will have a bit more flexibility.

See: Roadmap for [email protected] https://github.com/facebook/create-react-app/issues/3815

Re:Vue CLI 3: A Game Changer for Front End Development? by mikewhy on Friday August 10, 2018 @05:06PM (#17736727)
I really wish they allowed for a TINY bit of configuration. I understand their need for batteries include, but having to eject to add `target: 'electron-renderer'` is pretty whack.

I wrote a thing that overwrites CRA's own webpack configs with one that loads said configs and passes them to a function you control. There's probably a package that does this, or a better way of doing it, but here's what I have: https://gist.github.com/mikew/97e2be1d428aae8460a33dfbee0ca8...

Re:Vue CLI 3: A Game Changer for Front End Development? by ng12 on Friday August 10, 2018 @05:23PM (#17736860)
It seems like such an obvious oversight. All they had to do was allow me to define a hook function that would let me to arbitrarily modify the Webpack configs before start/build. Every time I ever ejected it's because I had to add a one or two line change to the Webpack configs.
Re:Vue CLI 3: A Game Changer for Front End Development? by acemarke on Friday August 10, 2018 @05:29PM (#17736886)
There's a more standardized way to overwrite parts of a CRA config - see https://github.com/timarney/react-app-rewired .
Re:Vue CLI 3: A Game Changer for Front End Development? by k__ on Friday August 10, 2018 @05:10PM (#17736764)
Doesn't it allow some kind of custom scripts?
Re:Vue CLI 3: A Game Changer for Front End Development? by mikewhy on Friday August 10, 2018 @09:11PM (#17737755)
I'm not sure if it allows custom user-based stuff.

There's things like react-scripts-ts that do things like add TypeScript. But they are actually forks of react-scripts, a whole series of packages.