Open arthur5005 opened 1 year ago
So I've tracked the issue down to the InDesign react-starter
that spins up in Adobe UXP Developer Tool.
At first glance, it looks like the same as what's in this repository, but the word indesign
has been title cased in the webpack config on generation, when using the Developer Tool.
Not sure where to submit this issue, I would have opened a PR here, but it's definitely correct in the repository, it's something the Developer Tool is doing on generation.
@arthur5005 Thanks for bringing this to our notice. For the time being pls use the react-starter from this repo. We will fix this in UDT.
Tried using the
react-starter
template to build out a plugin. Was building out an interface, then tried to import indesign using:in one of my component files
Got:
Cannot find module 'indesign'
as an error.Am able to import
uxp
no problem.requiring
indesign
in a regular starter kit was no problem. Is there something I'm missing?