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.
Hi, I am writing a plugin for webpack to do deep socpe analysis. I modified
escopeand wrapped it into Typescript. just see src/There are several difference:
scopesare split into several filesImportManagerandExportManagerare added toModuleScopefor tree shaking in webpackexport default function () { ... }will not be regarded as scope inescope, but my plugin will analyze itAs an open source project I try to submit PR to
escopeand useescopedirectly. There is no need to make a new lib. So I just want to ask willescopeaccept these changes. If it's OK, I will submit a PR.