File tree 1 file changed +7
-3
lines changed
packages/compiler-sfc/__tests__/__snapshots__
1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -80,7 +80,8 @@ return { n, x }
80
80
exports[`SFC compile <script setup> <script> and <script setup> co-usage script setup first 1`] = `
81
81
"export const n = 1
82
82
const __default__ = {}
83
- import { x } from './x'
83
+
84
+ import { x } from './x'
84
85
85
86
export default /*#__PURE__*/Object.assign(__default__, {
86
87
setup(__props, { expose }) {
@@ -100,7 +101,8 @@ exports[`SFC compile <script setup> <script> and <script setup> co-usage script
100
101
const __default__ = {
101
102
name: \\"test\\"
102
103
}
103
- import { x } from './x'
104
+
105
+ import { x } from './x'
104
106
105
107
export default /*#__PURE__*/_defineComponent({
106
108
...__default__,
@@ -121,6 +123,7 @@ exports[`SFC compile <script setup> <script> and <script setup> co-usage script
121
123
122
124
123
125
const __default__ = def
126
+
124
127
import { x } from './x'
125
128
126
129
export default /*#__PURE__*/Object.assign(__default__, {
@@ -1250,7 +1253,8 @@ exports[`SFC compile <script setup> should expose top level declarations 1`] = `
1250
1253
const bb = 2
1251
1254
function cc() {}
1252
1255
class dd {}
1253
- import { x } from './x'
1256
+
1257
+ import { x } from './x'
1254
1258
1255
1259
export default {
1256
1260
setup(__props, { expose }) {
You can’t perform that action at this time.
0 commit comments