67
rated 0 times
[
70]
[
3]
/ answers: 1 / hits: 11868
/ 2 Years ago, wed, september 21, 2022, 12:00:00
I am getting this error:
Syntax Error: ambiguous indirect export
in Firefox. Sadly there is nothing to find on Google...
- This is my import:
<script type="module">
import {someFunctionINeed} from "./js/functions.js";
...
</script>
- This is my export:
export function someFunctionINeed(cname) { ... }
- compilerOptions from my
tsconfig.json
:
"compilerOptions": {
"module": "commonjs",
"target": "es5",
"sourceMap": true,
"watch": true,
"removeComments": true
}
- and something that's maybe relevant from the
package.json
:
"type": "module"
What did I miss?
More From » html