Finally, this warning has been resolved. Thanks Suraj Rao
First find the sass.js file in /node_modules/@ionic/app-scripts/dist/sass.js. inside the search var postcssOptions and add from: undefined,
Finally, it should be like this:
var postcssOptions = { from: undefined, to: path_1.basename(sassConfig.outFile), map: autoPrefixerMapOptions };
Link: workaround .
source share