Skip to content

context=module must be quoted #804

@mustafa0x

Description

@mustafa0x

Describe the bug

[vite-plugin-svelte] Error while preprocessing ... If the context attribute is supplied, its value must be "module"
 16 |  
 17 |  <script context=module>
               ^
 18 |  import {writable} from 'svelte/store'
 19 |  

Quotes are now required, while they weren't.

System Info

npmPackages:
    @sveltejs/vite-plugin-svelte: ^3.0.0 => 3.0.0 
    svelte: ^4.2.5 => 4.2.5 
    vite: ^5.0.0 => 5.0.0 

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingtriageAwaiting triage by a project member

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions