angular2-template-loader icon indicating copy to clipboard operation
angular2-template-loader copied to clipboard

0.6.2 Can't have comments between Component decorator and class definition

Open SimonTestNet opened this issue 9 years ago • 2 comments

The following works fine in 0.6.0 but fails with 0.6.2:

@Component({
	selector: "app",
	templateUrl: "./app.html"
})

/*  
 * Comment
 */
export class App {
}

Exception: Call to Node module failed with error: Error: No ResourceLoader implementation has been provided. Can't read the url "app.html"

SimonTestNet avatar Feb 09 '17 16:02 SimonTestNet

Tying to #54 (Help Wanted)

TheLarkInn avatar Feb 22 '17 20:02 TheLarkInn

@TheLarkInn I believe PR #67 solves this too. I added another test case based on the sample that is now passing.

Riobe avatar Apr 27 '17 21:04 Riobe