A js file is referenced in a ts
import jsFile from "./js/jsFile"
within this jsFile, the syntax of es6 is used again
// jsFile
import other from "./other.js"
export default other
then I reported an error, saying that the unexpected token import, in jsFile is about as follows. I hope to solve the whole packaging process.
at present, it is packaged using tsc index.ts. Should I add a layer to convert the es6 of js to es5, and then quote it?
[picture]