mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-20 12:29:55 +08:00
chore(build): move back to rxjs instead of es6 rxjs
This commit is contained in:
@ -93,12 +93,10 @@ task('release.preparePackageJsonTemplate', () => {
|
||||
// copy source dependencies versions to the template's peerDependencies
|
||||
// only copy dependencies that show up as peerDependencies in the template
|
||||
for (let dependency in sourcePackageJSON.dependencies) {
|
||||
|
||||
// if the dependency is in both, AND the value of the entry is empty, copy it over
|
||||
if (dependency in templatePackageJSON.dependencies && templatePackageJSON.dependencies[dependency] === '') {
|
||||
templatePackageJSON.dependencies[dependency] = sourcePackageJSON.dependencies[dependency];
|
||||
} else if (dependency === 'rxjs') {
|
||||
const value = sourcePackageJSON.dependencies[dependency];
|
||||
templatePackageJSON.dependencies['rxjs-es'] = value;
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user