mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-20 12:29:55 +08:00
31 lines
666 B
JavaScript
31 lines
666 B
JavaScript
module.exports = {
|
|
externals: [
|
|
{
|
|
'src/ionic': {
|
|
commonjs2: 'src/ionic'
|
|
},
|
|
'@angular/core': {
|
|
commonjs2: ['angular2', 'core']
|
|
},
|
|
'@angular/common': {
|
|
commonjs2: ['angular2', 'common']
|
|
},
|
|
'@angular/forms' : {
|
|
commonjs2: ['angular2', 'forms']
|
|
},
|
|
'@angular/http': {
|
|
commonjs2: ['angular2', 'http']
|
|
},
|
|
'@angular/platform-browser-dynamic': {
|
|
commonjs2: ['angular2', 'platform', 'browser']
|
|
},
|
|
}
|
|
],
|
|
module: {
|
|
loaders: [{ test: /\.ts$/, loader: "awesome-typescript-loader" }]
|
|
},
|
|
resolve: {
|
|
extensions: ["", ".js", ".ts"]
|
|
}
|
|
};
|