Skip to content
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

Bug with Hash URL #29

Closed
blond opened this issue Mar 31, 2015 · 0 comments
Closed

Bug with Hash URL #29

blond opened this issue Mar 31, 2015 · 0 comments

Comments

@blond
Copy link

blond commented Mar 31, 2015

Should ignore hash url.

@import url("#");

If the processed file with hash url we get an error:

/Users/blond/projects/postcss-import/node_modules/postcss-message-helpers/index.js:79
    throw err
          ^
Error: <css input>:15:1: Failed to find '#' from /Users/blond/projects/postcss-import
    in [ 
        /Users/blond/projects/postcss-import/test/fixtures/imports
    ]
    at <css input>:15:1
    at resolveFilename (/Users/blond/projects/postcss-import/index.js:326:11)
    at readAtImport (/Users/blond/projects/postcss-import/index.js:149:26)
    at transformAtImport (/Users/blond/projects/postcss-import/index.js:87:7)
    at Object.tryCatch [as try] (/Users/blond/projects/postcss-import/node_modules/postcss-message-helpers/index.js:53:12)
    at /Users/blond/projects/postcss-import/index.js:86:16
    at Array.forEach (native)
    at parseStyles (/Users/blond/projects/postcss-import/index.js:85:11)
    at /Users/blond/projects/postcss-import/index.js:67:5
    at PostCSS.process (/Users/blond/projects/postcss-import/node_modules/postcss/lib/postcss.js:79:28)
    at compareFixtures (/Users/blond/projects/postcss-import/test/index.js:22:6)

@blond blond changed the title Hash URL Bug with Hash URL Mar 31, 2015
@blond blond closed this as completed Mar 31, 2015
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 a pull request may close this issue.

1 participant