Ionic2 templateUrl need to reference build folder?

in ionic 2, I previously used a templateUrl such as

@Page({
  templateUrl: ./page4.html'
})

but I noticed that in the example tabs project it references the build folder something like this…

@Page({
  templateUrl: 'build/pages/page4/page4.html'
})

and this no longer seems to work…

@Page({
  templateUrl: ./page4.html'
})

do I need to reference the build folder now or should I be able to just reference ./page4.html or page4.html ?

thanks

Same issue for me too. only ./build/page4.html like addresses work but i am sure that this is not the right way…

It may well be more than you want to take on, but this is part of the reason I still prefer building with webpack. If you’re interested, take a look at this thread.