fix(compiler-sfc): <script setup> warning
The warning was showing even if the component is only using a classic `<script>`
This commit is contained in:
@@ -457,7 +457,7 @@ describe('SFC compile <script setup>', () => {
|
||||
)
|
||||
})
|
||||
|
||||
test('error on duplicated defalut export', () => {
|
||||
test('error on duplicated default export', () => {
|
||||
expect(
|
||||
parse(`
|
||||
<script>
|
||||
|
||||
Reference in New Issue
Block a user