We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Is there any way we can use the default react webpack config to make react-templates works? https://reactjs.org/docs/installation.html#creating-a-new-application
I would like to modify webpack config after I run this command.
$npm run eject
Thanks.
The text was updated successfully, but these errors were encountered:
I think it should be as easy as adding the rule in webpack.config.*.js:
webpack.config.*.js
rules: [ ... { test: /\.rt$/, loader: "react-templates-loader?modules=es6" }, ... ]
Sorry, something went wrong.
I tired but it didn't work correctly.
I am getting some error. App.js:6 Uncaught TypeError: (0 , _App2.default) is not a function
App.js:6 Uncaught TypeError: (0 , _App2.default) is not a function
The source is here. https://github.com/hurano/react-sass-template/tree/template
I cloned the repo and tried to fix it, but I'm unable to locate the problem.
Apparently webpack is not resolving the line:
webpack
import App from './js/App';
but it's leaving it untouched, and thus App.js is not included in the bundle (and rt not being called).
App.js
rt
Tip: you can debug which files are processed by the loaders by chaining echo-loader.
No branches or pull requests
Is there any way we can use the default react webpack config to make react-templates works?
https://reactjs.org/docs/installation.html#creating-a-new-application
I would like to modify webpack config after I run this command.
$npm run eject
Thanks.
The text was updated successfully, but these errors were encountered: