Skip to content

Doesn't work with absolute path #19

@tamtakoe

Description

@tamtakoe

Windows 8.1, rework-import 2.1.0

rework(data)
    .use(imprt())
    .toString();

input

@import 'D:/Project/public/compiled/main/vendor/bootstrap.css';

output

D:\Project\node_modules\rework-import\index.js:109
                throw new Error(createError(file, src, opts.path));
                      ^
Error: Failed to find D:/Project/public/compiled/main/vendor/bootstrap.css in [
    D:\Project
]

P.S. stylus, less, etc. prepocessors work correct with absolute urls in imports

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