From a196f2489b6d2c7400b072d828cf6558070ddc66 Mon Sep 17 00:00:00 2001 From: bluwy Date: Wed, 3 Nov 2021 12:02:30 +0800 Subject: [PATCH] feat(define): prevent assignment --- packages/playground/define/index.html | 1 + packages/playground/define/vite.config.js | 1 + packages/vite/src/node/plugins/define.ts | 3 ++- 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/packages/playground/define/index.html b/packages/playground/define/index.html index 590d92083c4c21..bf6a9c59689396 100644 --- a/packages/playground/define/index.html +++ b/packages/playground/define/index.html @@ -11,6 +11,7 @@

Define

spread array: