Skip to content

Using custom theme yields unnecessary/empty stylesheets #962

@obennaci

Description

@obennaci

Bug report

Version

1.0.0-alpha.17

Steps to reproduce

Use a custom theme by creating a .vuepress/theme folder
Repo: https://github.com/Gostwow/test-vuepress-custom-theme
Deploy url: https://hungry-wilson-87db4e.netlify.com/

What is expected?

A single stylesheet included in the html head

What is actually happening?

2 extra stylesheets are included, one is empty and another one includes only .icon.outbound{color:#aaa;display:inline-block}

As for the JS assets, there is this and also the 404 from default theme seems to be prefetched...

I've included the dist folder in the repo: https://github.com/Gostwow/test-vuepress-custom-theme/tree/master/dist

Other relevant information

  • Your OS: Arch
  • Node.js version: v10.12
  • Is this a global or local install? local
  • Which package manager did you use for the install? yarn

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