Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changing the default paths #296

Closed
ariofrio opened this issue Aug 23, 2018 · 1 comment
Closed

Changing the default paths #296

ariofrio opened this issue Aug 23, 2018 · 1 comment

Comments

@ariofrio
Copy link

ariofrio commented Aug 23, 2018

I did this in my project's config-overrides.js:

const path = require('path');
const paths = require('react-scripts-ts/config/paths');

paths.appBuild = path.join(path.dirname(paths.appBuild), 'custombuilddir');

Seems to work well so far.

Do you see any caveats to doing this? Could modifying the create-react-app paths be a documented use case for react-app-rewired?

@timarney
Copy link
Owner

timarney commented Sep 1, 2018

I've never tried if it works 👍

Feel free to add a PR if that's something you would like to see documented.

@timarney timarney closed this as completed Sep 1, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants