Skip to main content

import * as XLSX from ‘xlsx’;

I tried to load xlsx libraria but when generate code.js he said

image

this is my config

{

“compilerOptions”: {

“target”: “es5”,

“lib”: r“es6”, “dom”],

“strict”: true,

“typeRoots”:

“./node_modules/@types”,

“./node_modules/@figma”,

“./types”

]

},

“include”: “./**/*.ts”],

“exclude”: “node_modules”]

}

Be the first to reply!

Reply