Open threeal opened 2 months ago
Looks like it's from here:
❯ ag -u "' assert {" -G ".js$"
node_modules/.pnpm/browserslist-generator@2.3.0/node_modules/browserslist-generator/dist/esm/index.js
3:import * as compatData from '@mdn/browser-compat-data' assert { type: 'json' };
Operating System and version (if applicable):Does it work withtsc
(if applicable):Reproduction
Import
rollup-plugin-ts
using ESM, either inrollup.config.js
or anywhere like this:This issue seems related to https://github.com/rollup/rollup/issues/5531.
Expected Behavior
Should import normally, in the case of Rollup, it should bundle file successfully.
Actual Behavior
When bundle file using Rollup:
When imported in any JavaScript file: