cssdream / cssgrace

从今天起,写简单优雅面向未来的 CSS。From now on,writing brief,elegant,future-oriented CSS.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ieOpacityHack not working with `postcss-nested`

Semigradsky opened this issue · comments

Input:

td.options {
  text-align: center;

  .link {
    opacity: 0;
  }
}

Error:

ERROR in .//css-loader!.//postcss-loader!./src/scripts/components/users/users.css
Module build failed: TypeError: Cannot read property 'replace' of undefined
at ieOpacityHack (D:\Dev\git\React\react-admin-example\node_modules\cssgrace\lib\index.js:270:31)
at D:\Dev\git\React\react-admin-example\node_modules\cssgrace\lib\index.js:472:5

this happens to display: inline-block as well