@vitarx/plugin-vite 1.0.0-beta.3 → 1.0.0-beta.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -150,10 +150,6 @@ function isStaticValue(value) {
150
150
  case 'ArrowFunctionExpression':
151
151
  // 函数表达式是静态值
152
152
  case 'FunctionExpression':
153
- // 对象表达式是静态值
154
- case 'ObjectExpression':
155
- // 数组表达式是静态值
156
- case 'ArrayExpression':
157
153
  return true;
158
154
  // 其他类型的表达式都不是静态值
159
155
  default:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vitarx/plugin-vite",
3
- "version": "1.0.0-beta.3",
3
+ "version": "1.0.0-beta.4",
4
4
  "description": "The official plugin for Vitarx support in Vite.",
5
5
  "author": "ZhuChongLin <8210856@qq.com>",
6
6
  "license": "MIT",