google / google/gts

Lit / esbuild doesn't work with latest gts

Open
#923 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
5.3k
Forks
212
PR merge metrics
No merged PRs in 30d

Description

I'm working on a web application built with [Lit](http://lit.dev/) and [esbuild](https://esbuild.github.io/).
It was functioning correctly with `gts@5.3.1`, but broke after upgrading to `gts@6.0.2`.

Demo:
https://stackblitz.com/edit/stackblitz-starters-yvbnm5rc

Steps to reproduce:
- run `npm i`
- run `npx http-server build` and see the preview where no string is rendered.
- downgrade `gts` to `5.3.1`
- run `npm i `
- run `npx http-server build` and see the preview where "hello world" is rendered.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.