Hi!
Is there some best way to update ionic.bundle.js from ionic1 to ionic2/3 or assemble new?
I understand that ionic2/3 have another flow and file structure, using webpack to assemble and serve the projects.
But we have legacy project with cordova and ionic 1.3.1, which is not installed and loading like ionic.bundle.js thru requirejs.config.
So usual upgrade tutorial is not exactly what we need.
Thank u in advance!
requirejs.config(
{
baseUrl: '',
waitSeconds: 0,
paths: {
'ionic': './lib/ionic/js/ionic.bundle',
'app': './js/app',
'routes': './js/routes',
'controllers': './js/views/controllers',
'components': './js/components/components',
'services': './js/services/services',
'filters': './js/filters/filters',
'scripts': './js/index'
},
shim: {
'ionic':{
exports: 'angular'
},
'app': ['ionic','controllers','components','services'],
'routes': ['ionic'],
'controllers': ['ionic'],
'components': ['ionic'],
'services': ['ionic'],
'filters': ['ionic'],
'scripts': ['app']
},
deps: ['./js/appStart']
}
);