https://github.com/adrianmcli/repro-parcel-dot-folder
Reproduction repo for a bug with Parcel when the entry point file is inside a dot folder
https://github.com/adrianmcli/repro-parcel-dot-folder
Last synced: about 1 month ago
JSON representation
Reproduction repo for a bug with Parcel when the entry point file is inside a dot folder
- Host: GitHub
- URL: https://github.com/adrianmcli/repro-parcel-dot-folder
- Owner: adrianmcli
- Created: 2019-02-10T23:25:39.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2019-02-10T23:29:00.000Z (about 7 years ago)
- Last Synced: 2025-12-10T04:57:51.924Z (4 months ago)
- Language: HTML
- Size: 60.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# A bug in
When the entry file is inside a dot folder, I get the following error in my browser:
```
Uncaught SyntaxError: Unexpected token <
```
It seems like the server might be serving the HTML as JS for some reason (instead of serving the real JS file).
## To test
1. Clone the repo
2. Run `npm run without-dot`, and observe that everything works fine in the browser.
3. Run `npm run with-dot`, and observe that the error occurs in the browser.