Skip to content

We should provide existing absolute paths for the source files #27

Open

Description

@mightyaleksey

Recently, I had few problems with resolving paths in the postcss-url plugin.

I did a small research and found out that we provide non-existing absolute paths to the process() method.

I made two PRs which fix the problem: #25, css-modules/postcss-modules-scope#15
Unfortunately, those are breaking changes and we should publish them with new major version.

Also I haven't checked css-modulesify yet.

Activity

  1. mightyaleksey commented on Sep 9, 2015

    @mightyaleksey
    MemberAuthor

    Ah, and we need opportunity to pass the to option to the postcss.process() method: https://github.com/postcss/postcss/blob/master/docs/api.md#processorprocesscss-opts

  2. changed the title [-]We should use real absolute paths as the source files[/-] [+]We should use real absolute paths for the source files[/+] on Sep 9, 2015
  3. changed the title [-]We should use real absolute paths for the source files[/-] [+]We should provide existing absolute paths for the source files[/+] on Sep 10, 2015
  4. tinchoz49 commented on Nov 5, 2015

    @tinchoz49

    👍 I have the same problem of @sullenor ! using postcss-copy.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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