-
Notifications
You must be signed in to change notification settings - Fork 4.4k
postcss import need works with postcss url #1106
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
Comments
Please provide way to reproduce this for us, I can't tell what you did to get this error. For starters: Where is this font file saved, relative to the .vue file? |
My directory . In @import './assets/font/iconfont.css'; In @font-face {
font-family: "iconfont";
src: url('iconfont.eot?t=1510823274364'); /* IE9*/
/* ... */
} I do not know exactly what caused it, but it was solved when I added like this: In module.exports = {
"plugins": {
// to edit target browsers: use "browserslist" field in package.json
"postcss-import": {},
"postcss-url": {},
"autoprefixer": {}
}
} |
Thanks. It seems that makes sense indeed. If someone wants to do a PR:
|
That's included now |
Hi, I got error in last release
my css:
it is solved when I add
"postcss-url": {},
in.postcssrc.js
The text was updated successfully, but these errors were encountered: