sarsamurmu / reboost

A super fast dev server for rapid web development
MIT License
61 stars 3 forks source link

Error with lit-element #14

Closed GHNewbiee closed 4 years ago

GHNewbiee commented 4 years ago

"reboost": "^0.8.0" "lit-element": "^2.3.1"

esbuild: Warning "node_modules/lit-element/lit-element.js"

(200:21) Unsupported source map comment
| //# sourceMappingURL=lit-element.js.map
esbuild: Warning "node_modules/lit-element/lib/decorators.js"

(342:21) Unsupported source map comment
| //# sourceMappingURL=decorators.js.map
esbuild: Warning "node_modules/lit-element/lib/updating-element.js"

(670:21) Unsupported source map comment
| //# sourceMappingURL=updating-element.js.map
Error while parsing ".../reboost-le/node_modules/lit-element/lib/decorators.js"
You may need proper loader to handle this kind of files.

  207 |     name) => {
  208 |         const descriptor = {
> 209 |             async get() {
      |                  ^ Unexpected token
  210 |                 await this.updateComplete;
  211 |                 return this.renderRoot.querySelector(selector);
  212 |             },
esbuild: Warning "node_modules/lit-html/lit-html.js"

(60:21) Unsupported source map comment
| //# sourceMappingURL=lit-html.js.map
esbuild: Warning "node_modules/lit-element/lib/css-tag.js"

(73:21) Unsupported source map comment
| //# sourceMappingURL=css-tag.js.map
esbuild: Warning "node_modules/lit-html/lib/shady-render.js"

(287:21) Unsupported source map comment
| //# sourceMappingURL=shady-render.js.map
esbuild: Warning "node_modules/lit-html/lib/dom.js"

(44:21) Unsupported source map comment
| //# sourceMappingURL=dom.js.map
esbuild: Warning "node_modules/lit-html/lib/modify-template.js"

(128:21) Unsupported source map comment
| //# sourceMappingURL=modify-template.js.map
esbuild: Warning "node_modules/lit-html/lib/render.js"

(46:21) Unsupported source map comment
| //# sourceMappingURL=render.js.map
esbuild: Warning "node_modules/lit-html/lib/template-factory.js"

(48:21) Unsupported source map comment
| //# sourceMappingURL=template-factory.js.map
esbuild: Warning "node_modules/lit-html/lib/template-instance.js"

(137:21) Unsupported source map comment
| //# sourceMappingURL=template-instance.js.map
esbuild: Warning "node_modules/lit-html/lib/template.js"

(215:21) Unsupported source map comment
| //# sourceMappingURL=template.js.map
esbuild: Warning "node_modules/lit-html/lib/default-template-processor.js"

(52:21) Unsupported source map comment
| //# sourceMappingURL=default-template-processor.js.map
esbuild: Warning "node_modules/lit-html/lib/template-result.js"

(113:21) Unsupported source map comment
| //# sourceMappingURL=template-result.js.map
esbuild: Warning "node_modules/lit-html/lib/directive.js"

(63:21) Unsupported source map comment
| //# sourceMappingURL=directive.js.map
esbuild: Warning "node_modules/lit-html/lib/part.js"

(23:21) Unsupported source map comment
| //# sourceMappingURL=part.js.map
esbuild: Warning "node_modules/lit-html/lib/parts.js"

(456:21) Unsupported source map comment
| //# sourceMappingURL=parts.js.map
esbuild: Warning "node_modules/lit-element/lib/decorators.js"

(342:21) Unsupported source map comment
| //# sourceMappingURL=decorators.js.map
Error while parsing ".../reboost-le/node_modules/lit-element/lib/decorators.js"
You may need proper loader to handle this kind of files.

  207 |     name) => {
  208 |         const descriptor = {
> 209 |             async get() {
      |                  ^ Unexpected token
  210 |                 await this.updateComplete;
  211 |                 return this.renderRoot.querySelector(selector);
  212 |             },
sarsamurmu commented 4 years ago

Can you confirm it with the latest version (0.9.1)? It's working fine for me 🤔

GHNewbiee commented 4 years ago

Yes, it does properly function.