Skip to content

Another version of escope #127

@vincentdchan

Description

@vincentdchan

Hi, I am writing a plugin for webpack to do deep socpe analysis. I modified escope and wrapped it into Typescript. just see src/

There are several difference:

  • TypeScript
  • scopes are split into several files
  • ImportManager and ExportManager are added to ModuleScope for tree shaking in webpack
  • export default function () { ... } will not be regarded as scope in escope, but my plugin will analyze it

As an open source project I try to submit PR to escope and use escope directly. There is no need to make a new lib. So I just want to ask will escope accept these changes. If it's OK, I will submit a PR.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions