| 1 |
Descriptionscip-debian debian node-babel7 7.20.15+ds1+~cs214.269.168-17 node-babel7/patches/`fix-for-rollup-3.patch`#Description.: add fix for rollup 3 |
| 2 |
Authorscip-debian debian node-babel7 7.20.15+ds1+~cs214.269.168-17 node-babel7/patches/`fix-for-rollup-3.patch`#Author.: Yadd <[email protected]scip-debian . . . identity/`[email protected]`.> |
| 3 |
Forwardedscip-debian debian node-babel7 7.20.15+ds1+~cs214.269.168-17 node-babel7/patches/`fix-for-rollup-3.patch`#Forwarded.: no |
| 4 |
Last-Updatescip-debian debian node-babel7 7.20.15+ds1+~cs214.269.168-17 node-babel7/patches/`fix-for-rollup-3.patch`#Last-Update.: 2022-11-04 |
| 5 |
|
| 6 |
--- a/Gulpfile.mjsscip-debian debian node-babel7 7.20.15+ds1+~cs214.269.168-17 node-babel7/upstream/`Gulpfile.mjs`: |
| 7 |
+++ b/Gulpfile.mjsscip-debian debian node-babel7 7.20.15+ds1+~cs214.269.168-17 node-babel7/upstream/`Gulpfile.mjs`: |
| 8 |
@@ -473,7 +473,7 @@ |
| 9 |
// We have manually applied commonjs-esm interop to the source |
| 10 |
// for library not in this monorepo |
| 11 |
// https://github.com/babel/babel/pull/12795 |
| 12 |
|
| 13 |
+ if (!id.startsWith("@babel/")) return 'auto'; |
| 14 |
|
| 15 |
// Some syntax plugins have been archived |
| 16 |
if (id.includes("plugin-syntax")) { |
| 17 |
@@ -481,14 +481,14 @@ |
| 18 |
"./packages/" + id.replace("@babel/", "babel-"), |
| 19 |
import.meta.url |
| 20 |
); |
| 21 |
|
| 22 |
+ if (!fs.existsSync(srcPath)) return 'auto'; |
| 23 |
} |
| 24 |
|
| 25 |
if (id.includes("@babel/preset-modules")) { |
| 26 |
|
| 27 |
+ return 'auto'; |
| 28 |
} |
| 29 |
|
| 30 |
|
| 31 |
+ return 'auto'; |
| 32 |
}, |
| 33 |
}); |
| 34 |
|