Skip to content
This repository was archived by the owner on Feb 22, 2018. It is now read-only.
This repository was archived by the owner on Feb 22, 2018. It is now read-only.

Expression extractor does not find templatesUrls in 'web' directory #1623

Closed
@rkirov

Description

@rkirov

Sample app:
web/main.dart

@Component(
  templateUrl: 'myTemplate.html'

myTemplate.html is in web/ but the transformer looks for it in package root.

pub build
> line 11, column 1 of web/main.dart: Unable to find mytmp.html at shadow_demo|mytmp.html

This manifests rather nastily during runtime as a Missing getter: (o) => o.foo error.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions