|
|
|
@ -22,7 +22,7 @@ const ts_plugin = is_publish
|
|
|
|
|
|
|
|
|
|
|
|
fs.writeFileSync(
|
|
|
|
fs.writeFileSync(
|
|
|
|
`./compiler.d.ts`,
|
|
|
|
`./compiler.d.ts`,
|
|
|
|
`export { compile, parse, preprocess, walk, VERSION } from './types/compiler/index';`
|
|
|
|
`export { compile, parse, preprocess, walk, VERSION } from './types/compiler/index.js';`
|
|
|
|
);
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
|
|
const runtime_entrypoints = Object.fromEntries(
|
|
|
|
const runtime_entrypoints = Object.fromEntries(
|
|
|
|
@ -103,7 +103,7 @@ export default [
|
|
|
|
|
|
|
|
|
|
|
|
fs.writeFileSync(
|
|
|
|
fs.writeFileSync(
|
|
|
|
`${dir}/index.d.ts`,
|
|
|
|
`${dir}/index.d.ts`,
|
|
|
|
`export * from '../types/runtime/${dir}/index';`
|
|
|
|
`export * from '../types/runtime/${dir}/index.js';`
|
|
|
|
);
|
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|