Open akre54 opened 5 months ago
Okay couple fixes:
'Expected "}" but found "ElementType"'
error goes away if we move the imports to their own line. I guess esbuild doesn't like mixed inline type
imports.yarn cli build
is still failing on [!] (plugin dts) Error: namespace child (hoisting) not supported yet
. I replaced rollup-plugin-dts
(which is in maintenance mode) with rollup-plugin-flat-dts but getting issues building typescript.
Hi all - I'm trying to build Theatre from scratch for local use. Following the instructions in CONTRIBUTING.md, I tried to run
yarn cli build
but seeing an error:This to me implies that it's parsing the file as js and not typescript, because the parser seems to be failing on the
type
line.Going one-by-one, I'm getting a few warnings from the various packages, but this error seems to be coming from the
browser-bundles
package.Additionally, I'm getting an error in theatre/theatre:
And a few warnings around
Do I have something misconfigured? Thanks!