Skip to content
This repository was archived by the owner on Aug 10, 2020. It is now read-only.

Rename immutable.js to index.js so it can be found by Google Closure Compiler. #40

Closed
wants to merge 1 commit into from

Conversation

jmosney
Copy link

@jmosney jmosney commented Dec 4, 2018

Hi, I'm not sure if this is important to you but the Google Closure Compiler is lacking a feature to read the value for "main" in package.json. That means the compiler can't find your file "immutable.js" when people do something like const extend = require('xtend');. It actually breaks some components in material-components-web (if the dev is using Google Closure Compiler).

Up to you if you want to accept this PR, but if not I'll just keep this fork until the feature is added in Google Closure Compiler.

@jmosney
Copy link
Author

jmosney commented Dec 7, 2018

OK, never mind! I got instructions on how to make this work in GCC in this issue: google/closure-compiler#3163. Closing this PR.

@jmosney jmosney closed this Dec 7, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant