Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ts-node is included in package.json #41

Open
Rush opened this issue Jul 15, 2022 · 0 comments
Open

ts-node is included in package.json #41

Rush opened this issue Jul 15, 2022 · 0 comments

Comments

@Rush
Copy link

Rush commented Jul 15, 2022

ts-node is used to build the code but not in runtime and yet this plugin finds it as a dependency.

GPJWP: Found external module: external commonjs "ts-node"

I added a console.log and this is what it says.

Module <ref *1> ExternalModule {
  dependencies: [
    StaticExportsDependency {
      _parentModule: [Circular *1],
      _parentDependenciesBlock: [Circular *1],
      _parentDependenciesBlockIndex: 0,
      weak: false,
      optional: false,
      _locSL: 0,
      _locSC: 0,
      _locEL: 0,
      _locEC: 0,
      _locI: undefined,
      _locN: undefined,
      _loc: undefined,
      exports: true,
      canMangle: false
    }
  ],
  blocks: [],
  parent: undefined,
  type: 'javascript/dynamic',
  context: null,
  layer: null,
  needId: true,
  debugId: 2336,
  resolveOptions: {},
  factoryMeta: undefined,
  useSourceMap: true,
  useSimpleSourceMap: false,
  _warnings: undefined,
  _errors: undefined,
  buildMeta: { async: false, exportsType: 'dynamic' },
  buildInfo: { strict: true, topLevelDeclarations: Set(0) {}, module: false },
  presentationalDependencies: undefined,
  codeGenerationDependencies: undefined,
  request: 'ts-node',
  externalType: 'commonjs',
  userRequest: 'ts-node'
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant