Skip to content

Set Pug's doctype option to html by default #58

Open
@aantipov

Description

@aantipov

Pug's doctype option is set to html by default in pug-plain-loader.
The reasoning is also explained there:

The doctype option is set to html by default, since most Vue templates are HTML fragments without explicit doctype.

The same we should do here in component-compiler-utils (otherwise developers should figure it out and set it by themesevles vuejs/vue-jest#170)

I can create a PR if we agree to do it

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions