[CLJS-2836] Fix JS/ES6 modules requiring index.js files without filename Created: 20/Jul/18  Updated: 20/Jul/18

Status: Open
Project: ClojureScript
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Enhancement Priority: Major
Reporter: Juho Teperi Assignee: Juho Teperi
Resolution: Unresolved Votes: 0
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.



 Comments   
Comment by Juho Teperi [ 20/Jul/18 9:13 AM ]

I have a patch mostly ready but I need to update few test cases.

Generated at Tue Feb 19 16:57:50 CST 2019 using JIRA 4.4#649-r158309.