Hello everyone,
For now, let’s go with Baadier_Sydow’s solution, and use the min.js version. You can change your import like this
// import {Client} from 'asana'
import {Client} from 'asana/dist/asana-min.js'
or in tsconfig.json, add the change to paths
"compilerOptions": {
"paths": {
"asana": [ "node_modules/asana/dist/asana-min.js" ],
}
}
I’m working towards a better solution for this, but keeping optional server functionality available within the library is getting more difficult due to recent webpack changes, and I’ve been unable to land on a great solution.
Best,
Ross