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

set allchunks: true for ExtractTextPlugin #3908

Closed
wants to merge 1 commit into from

Conversation

viankakrisna
Copy link
Contributor

fixes #3086 #2415

prior discussion #408

more details of this behavior webpack/webpack#673

@viankakrisna viankakrisna force-pushed the css-allchunks branch 5 times, most recently from 2e53be8 to 810cd96 Compare January 26, 2018 19:46
@@ -17,8 +17,10 @@ describe('Integration', () => {
doc.getElementsByTagName('style')[0].textContent.replace(/\s/g, '')
).to.match(/html\{/);
expect(
doc.getElementsByTagName('style')[1].textContent.replace(/\s/g, '')
doc.getElementsByTagName('style')[0].textContent.replace(/\s/g, '')
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i just realize that this only test the style-loader behaviour in test and dev mode, need to revert this and find out how to test the behaviour for npm run build output

@bugzpodder
Copy link

Thanks for the PR. With the new Webpack 4 integration CRA is no longer using ExtractTextPlugin.

@bugzpodder bugzpodder closed this May 31, 2018
@viankakrisna viankakrisna deleted the css-allchunks branch June 1, 2018 01:38
sh00ter pushed a commit to sh00ter/create-react-app that referenced this pull request Jun 15, 2018
@lock lock bot locked and limited conversation to collaborators Jan 19, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants