Does the “alias” thing that I did is still good?
In webpack.config.js
resolve: {
alias: {
'ionic': 'ionic-framework', <----- added to keep import {} 'ionic/ionic'
'web-animations.min': 'ionic-framework/js/web-animations.min',
},
extensions: ["", ".js", ".ts"]
}