Skip to content

Remove usage of resolve library #12860

Description

@AbhiPrasad

Problem Statement

The SDK requires Node 14.18+ as per

This means we can replace resolve library with native Node.js usage.

Solution Brainstorm

Instead of using resolve, we can use import { createRequire } from 'module';. This is fine because we only need CJS resolution here.

See rollup/plugins#1742 as an example PR doing this.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions