vue3-yuanma/packages/compiler-sfc
Cédric Exbrayat 4d014dc3d3
fix(reactivity): remove Symbol.observable (#968)
* chore: add @types/node as an explicit dependency

As `tsconfig.json` references it, it should be listed in the dependencies.
It currently uses an older version: this commit also bumps to the latest v12 version, and fixes a typing issue.

* fix(reactivity): remove Symbol.observable

`Symbol.observable` is brought by `@types/node@12` and is not a "well-known" typescript symbol https://www.typescriptlang.org/docs/handbook/symbols.html that can be find in lib.es20xx like the others. It has been removed in `@types/node@v13`.
It means that an application using vue@3.0.0-alpha.13 does not compile unless it explicitely adds `@types/node@v12` as a dependency and `node` in its own tsconfig types.
2020-04-16 09:33:30 -04:00
..
__tests__ chore: fix snapshot 2020-02-27 17:15:51 -05:00
src fix(reactivity): remove Symbol.observable (#968) 2020-04-16 09:33:30 -04:00
api-extractor.json feat: (wip) setup compiler-sfc 2019-11-06 21:58:15 -05:00
package.json release: v3.0.0-alpha.13 2020-04-15 12:46:26 -04:00
README.md feat(compiler-sfc): use @vue/compiler-dom by default 2019-12-10 22:23:55 -05:00

@vue/compiler-sfc

Lower level utilities for compiling Vue single file components

This package contains lower level utilities that you can use if you are writing a plugin / transform for a bundler or module system that compiles Vue single file components into JavaScript. It is used in vue-loader.

The API surface is intentionally minimal - the goal is to reuse as much as possible while being as flexible as possible.

API

TODO