mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
Fix meteor-babel tests
This commit is contained in:
@@ -20,8 +20,7 @@ function getReifyOptions(features) {
|
||||
const reifyOptions = {
|
||||
avoidModernSyntax: true,
|
||||
enforceStrictMode: false,
|
||||
dynamicImport: true,
|
||||
topLevelAwait: features.topLevelAwait
|
||||
dynamicImport: true
|
||||
};
|
||||
|
||||
if (features) {
|
||||
@@ -36,6 +35,10 @@ function getReifyOptions(features) {
|
||||
// wrap it with a function to rename the `module` identifier.
|
||||
reifyOptions.moduleAlias = "module";
|
||||
}
|
||||
|
||||
if (features.topLevelAwait) {
|
||||
reifyOptions.topLevelAwait = true;
|
||||
}
|
||||
}
|
||||
|
||||
return reifyOptions;
|
||||
|
||||
3919
npm-packages/meteor-babel/package-lock.json
generated
3919
npm-packages/meteor-babel/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -41,7 +41,7 @@
|
||||
"@babel/template": "^7.16.7",
|
||||
"@babel/traverse": "^7.17.0",
|
||||
"@babel/types": "^7.17.0",
|
||||
"@meteorjs/reify": "https://github.com/meteor/reify/tarball/46e208eebcaa0a424397149401ce6a03d91f1a1b",
|
||||
"@meteorjs/reify": "https://github.com/meteor/reify/tarball/5078da9d0827cc17741504762f3a7f71c3b01448",
|
||||
"babel-preset-meteor": "^7.10.0",
|
||||
"babel-preset-minify": "^0.5.1",
|
||||
"convert-source-map": "^1.6.0",
|
||||
|
||||
Reference in New Issue
Block a user