-
-
Notifications
You must be signed in to change notification settings - Fork 9k
Closed
Labels
🔨 p3-minor-bugPriority 3: this fixes a bug, but is an edge case that only affects very specific usage.Priority 3: this fixes a bug, but is an edge case that only affects very specific usage.
Description
Vue version
3.3.2
Link to minimal reproduction
Steps to reproduce
Create project with vue 3.3.2, and test invalid prop type check, no warning message in browser console.
What is expected?
In develop environment, process.env.NODE_ENV !== "production" should be true.
What is actually happening?
I found that this commit causes !__DEV__ to be transformed to !process.env.NODE_ENV !== "production", resulting in it always being false.
System Info
System:
OS: macOS 13.3.1
CPU: (12) arm64 Apple M2 Pro
Memory: 554.94 MB / 32.00 GB
Shell: 5.9 - /bin/zsh
Binaries:
Node: 18.16.0 - ~/.volta/tools/image/node/18.16.0/bin/node
npm: 9.5.1 - ~/.volta/tools/image/node/18.16.0/bin/npm
Browsers:
Edge: 113.0.1774.42
Safari: 16.4
npmPackages:
vue: ^3.3.2 => 3.3.2Any additional comments?
No response
marvinschuerz
Metadata
Metadata
Assignees
Labels
🔨 p3-minor-bugPriority 3: this fixes a bug, but is an edge case that only affects very specific usage.Priority 3: this fixes a bug, but is an edge case that only affects very specific usage.

