Skip to content

Add a new option importPathFormatter to format the path of css files #85

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 8, 2018

Conversation

xile611
Copy link

@xile611 xile611 commented Apr 24, 2018

In my case, I need to update of path of css files after transforming the css-modules.
So I add a new option importPathFormatter.
But It seems the test cases fail in my local environment which also fails in mater branch.

Test error messages:

 1) should write a multiple css files using import
    2) should write a multiple css files using import preserving directory structure
    3) should write a multiple css files using require
    4) should write a single css file using import
    5) should write a single css file using require
    6) should extract styles with a single input file via gulp
    7) should extract multiple files via gulp
    8) should extract combined files via gulp
    9) should call custom preprocess

....

 1) babel-plugin-css-modules-transform should write a multiple css files using import:
     Error: ENOENT: no such file or directory, open .../babel-plugin-css-modules-transform/test/output/parent.css'

@michalkvasnicak michalkvasnicak self-requested a review May 8, 2018 07:30
@michalkvasnicak michalkvasnicak merged commit ad77b97 into michalkvasnicak:master May 8, 2018
@michalkvasnicak
Copy link
Owner

Released as 1.6.0

@michalkvasnicak
Copy link
Owner

Thank you 😉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants