angular-docs-cn/modules/@angular/platform-server/.babelrc

16 lines
401 B
Plaintext

{
"presets": ["es2015"],
"plugins": [["transform-es2015-modules-umd", {
"globals": {
'@angular/core': 'ng.core',
'@angular/common': 'ng.common',
'@angular/compiler': 'ng.compiler',
'@angular/platform-browser': 'ng.platformBrowser',
'@angular/platform-server': 'ng.platformServer'
},
"exactGlobals": true
}]],
"moduleId": "@angular/platform-server"
}