Skip to content
This repository was archived by the owner on Feb 18, 2022. It is now read-only.

Conversation

@adamgruber
Copy link

This PR adds the raw-loader to the webpack configs to support importing text files.

The main use case for this is to show code examples inside the <CodePane> as documented. Since this appears to be a common pattern, including the raw-loader directly in spectacle-scripts allows creators to follow the examples in the documentation without having to eject and figure out how to add the raw-loader themselves.

@kenwheeler kenwheeler merged commit 6131e22 into FormidableLabs:master May 22, 2018
@kenwheeler
Copy link

👍

@sylvainar
Copy link

@kenwheeler Was that fix pushed on npm ?

jpdriver pushed a commit that referenced this pull request Nov 20, 2018
Add raw-loader to webpack configs inside react-scripts
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants