Skip to content
This repository was archived by the owner on Jan 18, 2022. It is now read-only.
This repository was archived by the owner on Jan 18, 2022. It is now read-only.

Mark transpiled render functions with _withStripped #44

Closed
@yyx990803

Description

@yyx990803

This is an internal flag that allows Vue's runtime to pick the correct Proxy strategy to detect variable reference errors during render, depending on whether with has been stripped by vue-template-es2015-compiler.

The same is done in vue-loader: https://github.com/vuejs/vue-loader/blob/master/lib/template-compiler.js#L83

A bit hacky, but luckily that there are not many tools that actually need to be aware of this flag.

Great work on this plugin, btw!

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions