File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change 2929 ],
3030 "sideEffects" : false ,
3131 "type" : " module" ,
32- "main" : " index.js" ,
33- "types" : " index.d.ts" ,
32+ "exports" : " ./index.js" ,
3433 "files" : [
3534 " lib/" ,
3635 " index.d.ts" ,
Original file line number Diff line number Diff line change @@ -6,12 +6,12 @@ import assert from 'node:assert/strict'
66import test from 'node:test'
77import { Parser } from 'acorn'
88import acornJsx from 'acorn-jsx'
9+ import { jsx , toJs } from 'estree-util-to-js'
910import { SourceMapGenerator } from 'source-map'
10- import { jsx , toJs } from '../index.js'
1111
1212test ( 'toJs' , async function ( t ) {
1313 await t . test ( 'should expose the public api' , async function ( ) {
14- assert . deepEqual ( Object . keys ( await import ( '../index. js' ) ) . sort ( ) , [
14+ assert . deepEqual ( Object . keys ( await import ( 'estree-util-to- js' ) ) . sort ( ) , [
1515 'jsx' ,
1616 'toJs'
1717 ] )
You can’t perform that action at this time.
0 commit comments