Skip to content

Sass imports of node_modules do not work when building #197

Closed
@peXed

Description

@peXed
  • Your OS: Windows 10
  • Node.js version: 8.10.0
  • VuePress version: 0.6.1
  • Browser version: Chrome 65
  • Is this a global or local install?: local
  • Which package manager did you use for the install?: yarn

Bug:
If you import sass files from a node_module it will work on the dev server, but it fails when building the project.

Steps to reproduce:

  1. clone repo: https://github.com/peXed/vuepress-test
  2. run yarn docs:build and you will get the following error:
    File to import not found or unreadable: ~bulma.
  3. run yarn docs:dev and everything will work as expected

Expected behavior:
Importing node_modules works when building the project as well.

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions