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

Replace react-scripts webpack config instead of create-react-app #5

Closed
SilencerWeb opened this issue Nov 15, 2017 · 1 comment
Closed
Assignees

Comments

@SilencerWeb
Copy link

SilencerWeb commented Nov 15, 2017

As I see, when you install pug-as-jsx-loader, it automatically creates webpack configs in the folder named create-react-app.

Before installing pug-as-jsx-loader - http://prntscr.com/haljwb
After - http://prntscr.com/halkc6

But create-react-app uses react-scripts for build project, so, when you run scripts(http://prntscr.com/halkvb) pug-as-jsx-loader doesn't work and you need to go and replace webpack config by yourself.

bluewings added a commit that referenced this issue Mar 6, 2018
#5

Replace react-scripts webpack config instead of create-react-app #5
@bluewings
Copy link
Owner

@SilencerWeb
I excluded the examples folder from the npm package.

@bluewings bluewings self-assigned this Mar 6, 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