• Ro Savage's avatar
    Add support for CSS Modules with explicit filename (#2285) · fc7c9915
    Ro Savage authored
    * Add css modules with [name].modules.css file convention
    
    * Add e2e for CSS Modules
    
    * Updated based on feedback
    
    * Change css modules class name to be deterministic and fix licences
    
    * Update css modules class naming convention
    fc7c9915
CssModulesInclusion.js 359 bytes
/**
 * Copyright (c) 2015-present, Facebook, Inc.
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */
import React from 'react';
import styles from './assets/style.module.css';
export default () => (
  <p className={styles.cssModulesInclusion}>CSS Modules are working!</p>