From: Matias Capeletto Date: Sat, 13 Feb 2021 09:06:34 +0000 (+0100) Subject: fix(compiler-sfc): removeSpecifier issue when removing initial imports (script-setup... X-Git-Tag: v3.0.6~21 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6d762a84ca0ac9a43eb3d0ab0c7b7b17c35c9836;p=thirdparty%2Fvuejs%2Fcore.git fix(compiler-sfc): removeSpecifier issue when removing initial imports (script-setup) (#2729) --- diff --git a/packages/compiler-sfc/__tests__/__snapshots__/compileScript.spec.ts.snap b/packages/compiler-sfc/__tests__/__snapshots__/compileScript.spec.ts.snap index 01e2b80981..59ef9b1b7e 100644 --- a/packages/compiler-sfc/__tests__/__snapshots__/compileScript.spec.ts.snap +++ b/packages/compiler-sfc/__tests__/__snapshots__/compileScript.spec.ts.snap @@ -164,6 +164,25 @@ return { x } }" `; +exports[`SFC compile `).content + ) + }) + test('dedupe between user & helper', () => { const { content } = compile(`