GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — Make exported consts better minifiable · Issue #7565 · microsoft/TypeScript Closed as not planned Labels SuggestionAn idea for TypeScriptAn idea for TypeScript Milestone DescriptionTypeScript Version: 1.8.2 (Playground on 20160317) Code module Some { export const thing = ""; } Expected behavior: Should compile to: var Some; (function (Some) { var thing = ""; Some.thing = thing; })(Some || (Some = {})); So internal references can use the local variable which will minify well. Exported functions and classes already compile minifier-friendly. Actual behavior: But compiles to: var Some; (function (Some) { Some.thing = ""; })(Some || (Some = {})); So internal references use the nested reference which does not minify. Activity
MetadataMetadataAssigneesLabelsSuggestionAn idea for TypeScriptAn idea for TypeScript TypeProjectsMilestoneRelationshipsDevelopmentIssue actions |
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |