provide explicit global variable names to rollup#693
Conversation
|
@mwcz I think I can guess how to test this but would you mind adding testing steps in the description to make it easier to replicate? |
|
Testing notes: Running |
|
@castastrophe good to know, I'll look into reproducing that and coming up with a fix. It should be able to tolerate leftovers. |
|
@castastrophe found and fixed, thanks! |
|
Yay! I was running into the same issue. I just pulled the latest though, ran the build command again, and it looks great. Random question...what does |
eyevana
left a comment
There was a problem hiding this comment.
lyric galleria thingamabob massive
|
@eyevana Great question! POSIX shells like bash have two types of output, stdout (for regular messages) and stderr (for errors). Both types of output appear to you in the terminal, but when you pipe a command into another command, as I'm piping into
(Note that none of these messages are actually errors... I think some part of our build system is logging things as errors that aren't actually errors. 🤔 ) |
This PR removes the following warning when building elements.
It does so by using
pfelement.classNamefrom each element's package.json to determine what the global variable name should be.Testing instructions
In the build log, you should not see any
(!) Missing global variable namewarnings. You can verify this more easily with grep.That command should run for a while, but should not have any output.
For reference, when that command is run on
masterthe output looks like the following: