https://github.com/oieduardorabelo/file-loader-error
Minimum setup to reproduce [email protected] error with JSX/Babel
https://github.com/oieduardorabelo/file-loader-error
Last synced: 13 days ago
JSON representation
Minimum setup to reproduce [email protected] error with JSX/Babel
- Host: GitHub
- URL: https://github.com/oieduardorabelo/file-loader-error
- Owner: oieduardorabelo
- Created: 2017-09-11T04:28:24.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-09-11T04:33:58.000Z (over 7 years ago)
- Last Synced: 2025-01-13T14:32:09.144Z (about 1 month ago)
- Language: JavaScript
- Size: 738 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# [email protected] not working with Babel/JSX
Minimum setup to reproduce [email protected] error with JSX/Babel.
On the `package.json`:
```javascript
...
"devDependencies": {
"babel-core": "6.26.0",
"babel-loader": "7.1.2",
"babel-preset-react-app": "3.0.2",
"file-loader": "1.0.0",
"html-webpack-plugin": "2.30.1",
"webpack": "3.5.6",
"webpack-dev-server": "2.7.1"
}
...
```If you replace `"file-loader": "1.0.0"` by `"file-loader": "0.11.2"`, everything works as expected.
## Seems is under discussion
This issue is being discussed in the `file-loader` repository:
- https://github.com/webpack-contrib/file-loader/issues/35