ClojureScript

Fix JS/ES6 modules requiring index.js files without filename

Details

  • Type: Enhancement Enhancement
  • Status: Open Open
  • Priority: Major Major
  • Resolution: Unresolved
  • Affects Version/s: None
  • Fix Version/s: None
  • Component/s: None
  • Labels:
    None

Description

https://unpkg.com/@material-ui/core@1.4.0/index.es.js
https://unpkg.com/@material-ui/core@1.4.0/colors/index.js

import * as colors from './colors';
export { colors };

results in index.es.js requiring Closure module module$fullpath$material_ui$node_modules$$material_ui$core$colors but we currently only add provide entry ending in $index. I think we should emit provide entries both ending in index and one without.

Activity

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated: