@vue/compiler-sfc 3.1.0 → 3.3.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.
package/README.md CHANGED
@@ -2,6 +2,8 @@
2
2
 
3
3
  > Lower level utilities for compiling Vue Single File Components
4
4
 
5
+ **Note: as of 3.2.13+, this package is included as a dependency of the main `vue` package and can be accessed as `vue/compiler-sfc`. This means you no longer need to explicitly install this package and ensure its version match that of `vue`'s. Just use the main `vue/compiler-sfc` deep import instead.**
6
+
5
7
  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 (SFCs) into JavaScript. It is used in [vue-loader](https://github.com/vuejs/vue-loader), [rollup-plugin-vue](https://github.com/vuejs/rollup-plugin-vue) and [vite](https://github.com/vitejs/vite).
6
8
 
7
9
  ## API
@@ -9,6 +11,7 @@ This package contains lower level utilities that you can use if you are writing
9
11
  The API is intentionally low-level due to the various considerations when integrating Vue SFCs in a build system:
10
12
 
11
13
  - Separate hot-module replacement (HMR) for script, template and styles
14
+
12
15
  - template updates should not reset component state
13
16
  - style updates should be performed without component re-render
14
17
 
@@ -74,6 +77,4 @@ export default script
74
77
 
75
78
  Options needed for these APIs can be passed via the query string.
76
79
 
77
-
78
-
79
80
  For detailed API references and options, check out the source type definitions. For actual usage of these APIs, check out [rollup-plugin-vue](https://github.com/vuejs/rollup-plugin-vue/tree/next) or [vue-loader](https://github.com/vuejs/vue-loader/tree/next).