-
Notifications
You must be signed in to change notification settings - Fork 70
Description
Hi,
I've experienced that instead of proper file requiring, the file content passes into its URL :-(
GET http://localhost:8080/%3C!--The%20content%20below%20is%20only%20a%20placeholder%20and%20can%20be%20replaced.--%3E%0A%3Cdiv%20style=%22text-align:center%22%3E%0A%20%20%3Ch1%3E%0A%20%20%20%20Welcome%20to%20%7B%7B%20title%20%7D%7D!%0A%20%20%3C/h1%3E%0A%3C/div%3E%0A%3Ch2%3EHere%20are%20some%20links%20to%20help%20you%20start:%20%3C/h2%3E%0A%3Cul%3E%0A%20%20%3Cli%3E%0A%20%20%20%20%3Ch2%3E%3Ca%20target=%22_blank%22%20rel=%22noopener%22%20href=%22https:/angular.io/tutorial%22%3ETour%20of%20Heroes%3C/a%3E%3C/h2%3E%0A%20%20%3C/li%3E%0A%20%20%3Cli%3E%0A%20%20%20%20%3Ch2%3E%3Ca%20target=%22_blank%22%20rel=%22noopener%22%20href=%22https:/github.com/angular/angular-cli/wiki%22%3ECLI%20Documentation%3C/a%3E%3C/h2%3E%0A%20%20%3C/li%3E%0A%20%20%3Cli%3E%0A%20%20%20%20%3Ch2%3E%3Ca%20target=%22_blank%22%20rel=%22noopener%22%20href=%22https:/blog.angular.io/%22%3EAngular%20blog%3C/a%3E%3C/h2%3E%0A%20%20%3C/li%3E%0A%3C/ul%3E%0A%0A 404 (Not Found)
...
{
test: /\.ts$/,
use: ['awesome-typescript-loader', 'angular2-template-loader?keepUrl=true',],
exclude: [/node_modules/, /\.(spec|e2e)\.ts$/]
},
...
"angular2-template-loader": "^0.6.2",
"awesome-typescript-loader": "^3.4.1",
"webpack": "^3.10.0",
"webpack-dev-middleware": "^1.12.2",
"webpack-dev-server": "^2.9.7"
Any ideas?