diff --git a/CHANGELOG.md b/CHANGELOG.md index aa62cff..c76e3db 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,8 @@ ## Changelog +[0.4.7] +- Fix: webpack conversion script parsing lost + [0.4.6] - Fix: webpack parsing failed resulting in process termination[#12](https://github.com/chenxch/unplugin-vue-setup-extend-plus/issues/12) diff --git a/README.md b/README.md index fed1f0f..5aeb31c 100644 --- a/README.md +++ b/README.md @@ -6,6 +6,9 @@ Make the vue script setup syntax support the name attribute ## CHANGELOG +[0.4.7] +- Fix: webpack conversion script parsing lost + [0.4.6] - Fix: webpack parsing failed resulting in process termination[#12](https://github.com/chenxch/unplugin-vue-setup-extend-plus/issues/12) @@ -18,11 +21,6 @@ Make the vue script setup syntax support the name attribute [0.4.1] - Feature: suppot vite@4 -[0.3.2] -- Fix: use more specific function types[#6](https://github.com/chenxch/unplugin-vue-setup-extend-plus/issues/6) -- Remove `fileName` mode (Because its performance is consistent with the performance of Vue itself, it is a repetitive thing.) - -`For details, refer to Options and extendIgnore` ## Feature diff --git a/src/core/transform.ts b/src/core/transform.ts index bdb97b5..f029935 100644 --- a/src/core/transform.ts +++ b/src/core/transform.ts @@ -16,13 +16,13 @@ export function supportScriptName(code: string, id: string, options: Options) { if (name || inheritAttrs) { str().appendLeft( 0, - `\n`, +\n`, ) }