Hi Maverick09, the answer is awesome, but it does not work for me. I am using this configuration:
cli packages:
@ionic/cli-utils : 1.15.2 ionic (Ionic CLI) : 3.15.2
local packages:
@ionic/app-scripts : 3.0.1 Ionic Framework : ionic-angular 3.8.0
System:
Node : v6.10.0 npm : 3.10.10 OS : Windows 10
The default configuration has two parts dev and prod, so if you change the user configuration as it seems, everything works
const customConfig = { dev: { resolve: { alias: { '@app': path.resolve('src/app'), '@pages': path.resolve('src/pages'), '@common': path.resolve('src/common'), '@storyboards': path.resolve('src/storyboards'), "@locale": path.resolve('src/locale') } } }, prod: { resolve: { alias: { '@app': path.resolve('src/app'), '@pages': path.resolve('src/pages'), '@common': path.resolve('src/common'), '@storyboards': path.resolve('src/storyboards'), "@locale": path.resolve('src/locale') } } } };
source share