grafana / grafana/xk6-sql-driver-sqlserver

Add import support as commonJS

Open
#3 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Makefile
Stars
6
Forks
0
Avg merge
1d 12h
Merged PRs (30d)
9

Description

Hello
I'm using webpack to bundle my TS project into a single JS file for k6 to execute.
The `k6/x/sql/driver/sqlserver` module can be successfully imported as ESM with `import driver from 'k6/x/sql/driver/sqlserver'` syntax. However the ESM `import * as driver from 'k6/x/sql/driver/sqlserver'` syntax that webpack enforces leads to `driver` being `undefined`, as does the commonJS syntax too.
Would you please add support for additional import syntax such as commonJS?
Thank You

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.