File tree Expand file tree Collapse file tree 2 files changed +2
-19
lines changed
Expand file tree Collapse file tree 2 files changed +2
-19
lines changed Original file line number Diff line number Diff line change @@ -144,6 +144,7 @@ jobs:
144144 if : steps.filter.outputs.src == 'true'
145145 run : |
146146 rustup target add wasm32-wasip1-threads
147+ pnpm napi build --target wasm32-wasip1-threads --cwd ./napi/playground
147148 pnpm napi build --target wasm32-wasip1-threads --cwd ./napi/parser
148149 pnpm napi build --target wasm32-wasip1-threads --cwd ./napi/transform
149150 pnpm napi build --target wasm32-wasip1-threads --cwd ./napi/minify
Original file line number Diff line number Diff line change @@ -57,22 +57,4 @@ const {
5757} )
5858export default __napiModule . exports
5959export const Severity = __napiModule . exports . Severity
60-
61- import { jsonParseAst } from "../parser/src-js/wrap.js"
62-
63- export function Oxc ( ) {
64- const oxc = new __napiModule . exports . Oxc ( ) ;
65- return new Proxy ( oxc , {
66- get ( _target , p , _receiver ) {
67- if ( p === 'ast' ) {
68- return jsonParseAst ( oxc . astJson ) ;
69- }
70- const value = oxc [ p ] ;
71- if ( typeof value === 'function' ) {
72- return value . bind ( oxc ) ;
73- }
74- return value ;
75- }
76- } )
77- }
78-
60+ export const Oxc = __napiModule . exports . Oxc
You can’t perform that action at this time.
0 commit comments