bholloway / resolve-url-loader

Webpack loader that resolves relative paths in url() statements based on the original source file
563 stars 71 forks source link

@keyframes missing '}' #2

Closed okhomenko closed 8 years ago

okhomenko commented 8 years ago

Module build failed: Error: undefined:14612:3: @keyframes missing '}'

As far as I understand it is problem with rework

bholloway commented 8 years ago

Is your project open source so I can debug? Its just that I'm not seeing the problem with any of mine.

Alternatively if you can locate the issue you could do a pull request.

bholloway commented 8 years ago

Is there a syntax error in your input css that rework is failing to parse? I will experiment with these sort of issues and try to reproduce.

Any further input will definitely help.

bholloway commented 8 years ago

@okhomenko I reproduced your error (or at least a result) by omitting a closing brace in a raw css file and adding that css file to my compilation.

I have published 1.1.0 on npm. The loader will now degrade gracefully on incoming css errors. However you may find that following loaders will not do so.

Please let me know if this solves your issue.

bholloway commented 8 years ago

@okhomenko I believe I have fixed this. Please let me know otherwise I will close this issue.

okhomenko commented 8 years ago

@bholloway Thank you so much. There is still problem with @keyframes, it's not related to resolve-url, but now at least I'm able to compile.