Skip to content
This repository was archived by the owner on Jan 18, 2022. It is now read-only.
This repository was archived by the owner on Jan 18, 2022. It is now read-only.

Sass imported files are not resolved when using src attribute #268

@bennyschudel

Description

@bennyschudel

Version

4.7.0

Reproduction link

https://github.com/bennyschudel/rollup-vue-sass-import-issue

Steps to reproduce

Add external sass file with <style src="../styles/components/myComponent.scss" lang="scss" /> and import a file within myComponent.scss relative like @import '../core';

Then run npm run build

What is expected?

core.scss could be loaded and imported

What is actually happening?

core.scss could not be found


Is this a normal behaviour? Do I need to set somehow the includePaths for sass? I did not figured out the right way 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