diff --git a/packages/taro-transformer-wx/package.json b/packages/taro-transformer-wx/package.json index 36bbc17c2359..746a3f9a2305 100644 --- a/packages/taro-transformer-wx/package.json +++ b/packages/taro-transformer-wx/package.json @@ -50,6 +50,7 @@ "babel-helper-remove-or-void": "^0.4.3", "babel-plugin-danger-remove-unused-import": "^1.1.1", "babel-plugin-minify-dead-code": "^1.3.2", + "babel-plugin-preval": "^1.6.4", "babel-plugin-syntax-dynamic-import": "^6.18.0", "babel-plugin-transform-class-properties": "^6.24.1", "babel-plugin-transform-define": "^1.3.0",