dillon1000/react
Commit
Browse files Make globals configurable; populate a reasonable default list
This is a precursor to validating that all identifiers are defined - we need to know about gobals and module declarations, so this PR adds the ability to configure a Set<string> of defined globals. The default list is inspired by the globals that prepack defines, which just comes from the spec definition.
Changed paths5 files
First-parent comparisoncompiler/forget/src/Babel/PluginOptions.ts ModifiedM compiler/forget/src/CompilerPipeline.ts ModifiedM compiler/forget/src/HIR/Environment.ts ModifiedM compiler/forget/src/HIR/Globals.ts ModifiedM compiler/forget/src/HIR/HIRBuilder.ts ModifiedPatch
Files changed
Rendering syntax-highlighted changes…