Skip to content

Commit 3c1c8dd

Browse files
authored
Add file extensions fo imports where missing. (#595)
I was experimenting with [import maps](https://github.com/WICG/import-maps) in Chrome Canary. It won't be really useful for us until https://crbug.com/928149 (and, practically speaking) https://crbug.com/928149 are implemented, but it's at a really promising state! This change ensures that when we're importing a file within another package, we give the full filename.
1 parent 36e1991 commit 3c1c8dd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/lit-element.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,13 @@
1212
* http://polymer.github.io/PATENTS.txt
1313
*/
1414
import {TemplateResult} from 'lit-html';
15-
import {render} from 'lit-html/lib/shady-render';
15+
import {render} from 'lit-html/lib/shady-render.js';
1616

1717
import {PropertyValues, UpdatingElement} from './lib/updating-element.js';
1818

1919
export * from './lib/updating-element.js';
2020
export * from './lib/decorators.js';
21-
export {html, svg, TemplateResult, SVGTemplateResult} from 'lit-html/lit-html';
21+
export {html, svg, TemplateResult, SVGTemplateResult} from 'lit-html/lit-html.js';
2222
import {supportsAdoptingStyleSheets, CSSResult} from './lib/css-tag.js';
2323
export * from './lib/css-tag.js';
2424

0 commit comments

Comments
 (0)