Skip to content

Fix for react-scripts 2.0.2, 2.0.3, 2.0.4#28

Merged
strothj merged 4 commits into
strothj:masterfrom
Corjen:master
Oct 5, 2018
Merged

Fix for react-scripts 2.0.2, 2.0.3, 2.0.4#28
strothj merged 4 commits into
strothj:masterfrom
Corjen:master

Conversation

@Corjen

@Corjen Corjen commented Oct 3, 2018

Copy link
Copy Markdown
Contributor

This should fix #24; since react-scripts 2.0.2 this doesn't work anymore.

The difference:
2.0.0: https://github.com/facebook/create-react-app/blob/react-scripts%402.0.0/packages/react-scripts/config/webpack.config.dev.js
2.0.2 https://github.com/facebook/create-react-app/blob/react-scripts%402.0.2/packages/react-scripts/config/webpack.config.dev.js

The main difference is that from 2.0.2 and up they've stop using use and instead went with loader, this should probably have something to do with a webpack upgrade?

I've also removed the svg loader fix, since this should be working if you're using the newest version of react-scripts(tested😅)

@Anahkiasen

Copy link
Copy Markdown

Quite the cleanup 👍

@strothj

strothj commented Oct 4, 2018

Copy link
Copy Markdown
Owner

Hello, thank you for the pull request.

It will be until tonight (EST) at the earliest before I can test this and get it out the door.

@Corjen

Corjen commented Oct 4, 2018

Copy link
Copy Markdown
Contributor Author

No rush from my side :)

I'm also closely watching this PR, which would enable TS in CRA 2: react/create-react-app#4837 (comment). Seems close to release

@strothj strothj changed the title Fix for react-scripts 2.0.2 & 2.03 Fix for react-scripts 2.0.2-4 Oct 5, 2018
@strothj strothj changed the title Fix for react-scripts 2.0.2-4 Fix for react-scripts 2.0.2, 2.0.3, 2.0.4 Oct 5, 2018
@strothj strothj merged commit 7d66642 into strothj:master Oct 5, 2018
@strothj

strothj commented Oct 5, 2018

Copy link
Copy Markdown
Owner

Merged in as v3. Thanks again.

I'm also watching the progress on that CRA 2 pull request. Will be nice to mark this package depreciated :-P

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

Successfully merging this pull request may close these issues.

Fails to build with react-scripts@2.0.0-next.fb6e6f70

3 participants