"main.dev.ts" and "main.prod.ts" have been deprecated.

Ken published on
1 min, 118 words

Categories: Programming

Tags: Ionic 2

Ionic 2のバージョンを上げたらこんなエラーが出るようになった。

ionic-app-scripts 0.0.47
build dev started ...
ionic-app-script task: "build"
Error: "main.dev.ts" and "main.prod.ts" have been deprecated. Please create a new file "main.ts" containing
       the content of "main.dev.ts", and then delete the deprecated files. For more information, please see the
       default Ionic project main.ts file here:


cp ./app/main.dev.ts ./app/main.ts