@lit-labs/eleventy-plugin-lit
Advanced tools
Comparing version 1.0.2 to 1.0.3
@@ -141,7 +141,3 @@ "use strict"; | ||
const loader = new ModuleLoader({ global: window }); | ||
// TODO(aomarks) Replace with concurrent Promise.all version once | ||
// https://github.com/lit/lit/issues/2549 has been addressed. | ||
for (const module of resolvedComponentModules) { | ||
await loader.importModule(module, renderModulePath); | ||
} | ||
await Promise.all(resolvedComponentModules.map((module) => loader.importModule(module, renderModulePath))); | ||
contextifiedRender = (await loader.importModule('@lit-labs/ssr/lib/render-lit-html.js', renderModulePath)).module.namespace.render; | ||
@@ -148,0 +144,0 @@ // TOOD(aomarks) We could also directly synthesize an html TemplateResult |
{ | ||
"name": "@lit-labs/eleventy-plugin-lit", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "Eleventy plugin for rendering Lit components.", | ||
@@ -93,4 +93,4 @@ "author": "Google LLC", | ||
"dependencies": { | ||
"@lit-labs/ssr": "^3.1.8-pre.0", | ||
"lit": "^3.0.0" | ||
"@lit-labs/ssr": "^3.1.8", | ||
"lit": "^2.7.0 || ^3.0.0" | ||
}, | ||
@@ -97,0 +97,0 @@ "devDependencies": { |
Sorry, the diff of this file is not supported yet
47076
256
Updated@lit-labs/ssr@^3.1.8
Updatedlit@^2.7.0 || ^3.0.0