React-starter-kit: Issue with [email protected]

Created on 8 Feb 2017  路  3Comments  路  Source: kriasoft/react-starter-kit

If you import a css file from node_modules in the global scope, css selectors are still interpolated. I noticed this because I include styles from highlight.js in my Layout.css:

:global {
  @import 'highlight.js/styles/default.css';
}

This appears to be a result of the update to [email protected] introduced in a55d311. Reverting back to 2.1.0 seems to work, but I'm not sure what is causing this issue.

Most helpful comment

@guokeke node v6.9.4

@frenzzy Thank you for the reference. Since this issue is being tracked with partial-import, I will close this issue. If anyone else is experiencing this problem, rolling back to 2.1.0 seems to be the only fix as of now.

All 3 comments

@rochadt which your nodejs version?

@guokeke node v6.9.4

@frenzzy Thank you for the reference. Since this issue is being tracked with partial-import, I will close this issue. If anyone else is experiencing this problem, rolling back to 2.1.0 seems to be the only fix as of now.

Was this page helpful?
0 / 5 - 0 ratings