File tree Expand file tree Collapse file tree 4 files changed +6
-5
lines changed
Expand file tree Collapse file tree 4 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ package(default_visibility = ["//visibility:public"])
77ts_project (
88 name = "extract_api_to_json_lib" ,
99 srcs = glob (
10- ["**/*.ts " ],
10+ ["**/*.mts " ],
1111 exclude = [
1212 "**/*.spec.ts" ,
1313 ],
@@ -30,7 +30,7 @@ js_binary(
3030 ":extract_api_to_json_lib" ,
3131 "//:node_modules/typescript" ,
3232 ],
33- entry_point = "index.js " ,
33+ entry_point = "index.mjs " ,
3434 visibility = ["//visibility:public" ],
3535)
3636
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ import {
1919 NgtscProgram ,
2020} from '@angular/compiler-cli' ;
2121import ts from 'typescript' ;
22- import { EXAMPLES_PATH , interpolateCodeExamples } from './interpolate-code-examples' ;
22+ import { EXAMPLES_PATH , interpolateCodeExamples } from './interpolate-code-examples.mjs ' ;
2323
2424function main ( ) {
2525 const [ paramFilePath ] = process . argv . slice ( 2 ) ;
File renamed without changes.
Original file line number Diff line number Diff line change 99 "compilerOptions" : {
1010 "strict" : true ,
1111 "types" : [" node" ],
12- "module" : " node16" ,
13- "moduleResolution" : " node16" ,
12+ "module" : " esnext" ,
13+ "target" : " esnext" ,
14+ "moduleResolution" : " bundler" ,
1415 "resolveJsonModule" : true ,
1516 "declaration" : true ,
1617 "sourceMap" : true
You can’t perform that action at this time.
0 commit comments