mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-20 12:29:55 +08:00
Merge branch 'master' into searchbar-fix
# Conflicts: # ionic/components/searchbar/searchbar.ts
This commit is contained in:
32
scripts/npm/ionic.webpack.config.js
Normal file
32
scripts/npm/ionic.webpack.config.js
Normal file
@ -0,0 +1,32 @@
|
||||
module.exports = {
|
||||
entry: [
|
||||
"./dist/ionic.js"
|
||||
],
|
||||
output: {
|
||||
path: 'dist/bundles',
|
||||
filename: 'ionic.js',
|
||||
libraryTarget: 'commonjs2'
|
||||
},
|
||||
externals: [
|
||||
{
|
||||
'angular2/core': {
|
||||
commonjs2: ['angular2', 'core']
|
||||
},
|
||||
'angular2/common': {
|
||||
commonjs2: ['angular2', 'common']
|
||||
},
|
||||
'angular2/router' : {
|
||||
commonjs2: ['angular2', 'router']
|
||||
},
|
||||
'angular2/http': {
|
||||
commonjs2: ['angular2', 'http']
|
||||
},
|
||||
'angular2/platform/browser': {
|
||||
commonjs2: ['angular2', 'platform', 'browser']
|
||||
},
|
||||
'angular2/instrumentation': {
|
||||
commonjs2: ['angular2', 'instrumentation']
|
||||
},
|
||||
}
|
||||
]
|
||||
};
|
Reference in New Issue
Block a user