__DEV__ isn't working with the example Parcel server
See original GitHub issueWhen I run the local server, I’m seeing this in the browser console…
Uncaught ReferenceError: __DEV__ is not defined
I have this in code which is in src/
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:10 (3 by maintainers)
Top Results From Across the Web
Development - Parcel
Parcel automatically tracks all of the files, configuration, plugins, and dev dependencies that are involved in your build, and granularly invalidates the cache ......
Read more >An Introduction to Parcel.js, the No-Config Web Application ...
This is your introduction to Parcel.js, the self-proclaimed super fast, no config web application bundler. Here's what you need to know.
Read more >Building a basic website with Parcel - DEV Community
Let's build a small website that can import libraries with Parcel. ... does not have access to the file system which means loading...
Read more >parcel/reporter-dev-server v2.7.0 - npm.io
Check @parcel/reporter-dev-server 2.7.0 package - Last release 2.7.0 with MIT ... allowed to communicate with one another, state will not work as expected....
Read more >How to set dev and prod targets in Parcel - Stack Overflow
This all started when I noticed that parcel watch does not minify/uglify the JS, and I don't want that to end up on...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@jaredpalmer You gave control of the project to this guy?
Locking thread as off-topic and invalid comments as well as repeatedly abusive ones.
I see the above comment from my email was deleted, repro-ing here:
Yes,
../
is a directory import, which checks forpackage.json
whosemain
field points todist
. See also the issue I previously mentioned, https://github.com/formium/tsdx/issues/539