jimkyndemeyer/react-css-modules-intellij-plugin

Feature: support for unnamed imports

saravanabalagi opened this issue · 0 comments

Currently syntax highlighting happens only if I require a .css file.

import './welcome.scss';                            // does NOT work
import styles from './welcome.scss';                // works
require './welcome.scss';                           // works

<View styleName="container">
.container {
  flex: 1;
  justify-content: center;
  align-items: center;
  background-color: #333;
}