Skip to content

builder.Manifest.build_one recursive css_path #24

Open
@admarrs

Description

If I try to use builder.Manifest.build_one to build a single .scss file the output .css file get's place 2 iterations of css-path down.

e.g
manifest = builder.Manifest(sass_path='static/sass', css_path='./static/css')
manifest.build_one('.','blog.scss')

will result in 'blog.scss.css' being placed at 'static/css/static/css'

I think line 182 in builder.py should read

css_path = os.path.join(package_dir, css_filename)

rather than

css_path = os.path.join(package_dir, self.css_path, css_filename)

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