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 — [Bug]: @babel/parser: __esModule property is not defined in lib/index.js since version 7.22.11 · Issue #15934 · babel/babel Closed Labels Description💻
How are you using Babel?Other (Next.js, Gatsby, vue-cli, ...) Input codeworking in 7.22.10: require('local-pkg').importModule('@babel/parser').then(({parse}) => console.log(parse)) Result: not working in 7.22.11: require('local-pkg').importModule('@babel/parser').then(({parse}) => console.log(parse)) Result: And require('local-pkg').importModule('@babel/parser').then(({default: {parse}}) => console.log(parse)) Result: Configuration file nameNo response ConfigurationNo response Current and expected behaviorunplugin-vue-components uses With @babel/parser 7.22.10 this works fine, but since 7.22.11 the esModule-marker is missing in the resulting lib/index.js file, resulting in the imported object EnvironmentSystem: Possible solutionAdd at the top of the resulting file Additional contextActivity
MetadataMetadataAssigneesLabelsTypeProjectsMilestoneRelationshipsDevelopmentIssue actions |
| You are visitor 01402775 — 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. |