Uploaded image for project: 'ClojureScript'
  1. CLJS-2836

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

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects versions: None
    • Fix versions: 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.

        Attachments

          Activity

            People

            • Assignee:
              deraen Juho Teperi
              Reporter:
              deraen Juho Teperi
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: