I just started to play around with Angular2, and ran into a weird component file extension problem:
Let\'s use the 5 minutes quickstart demo from angular.io (I\'ll repro
after trying many other solutions suggested by others, I found out it can case by dots in filenames and these two solutions worked for me. first:
defaultJSExtensions: true,
but defaultJSExtensions is a property that will be deprecated in future and second:
packages: {
'.': {
defaultExtension: 'js'
}
}