I am working on a project that creates a web extension. Normally, I write my code with ts.
I want to add my js file in my project. I am getting an error “only amd and system modules aare supported alongside –outfile”
{
"compilerOptions": {
"jsx": "react",
"module": "es6",
"target": "es6",
"moduleResolution": "node",
"esModuleInterop": true,
"outDir": "./dist",
"allowJs": true,
"outFile": "./dist/background.js"
},
"include": ["src/**/.ts", "src/**/*.tsx"],
"exclude": ["node_modules"]
}