mirror of https://github.com/webpack/webpack.git
test: resolve optional chaining test todo (#19651)
This commit is contained in:
parent
3b3d4c5528
commit
58aded3461
|
@ -1,11 +1,6 @@
|
|||
/** @type {import("../../../../").Configuration} */
|
||||
module.exports = {
|
||||
output: {
|
||||
// TODO: not sure why CI set optionalChaining to true on Node 10 and fails the test
|
||||
environment: {
|
||||
optionalChaining: false
|
||||
}
|
||||
},
|
||||
target: [`async-node${process.versions.node.split(".").map(Number)[0]}`],
|
||||
mode: "none",
|
||||
experiments: {
|
||||
topLevelAwait: true,
|
||||
|
|
|
@ -1,11 +1,6 @@
|
|||
/** @type {import("../../../../").Configuration} */
|
||||
module.exports = {
|
||||
output: {
|
||||
// TODO: not sure why CI set optionalChaining to true on Node 10 and fails the test
|
||||
environment: {
|
||||
optionalChaining: false
|
||||
}
|
||||
},
|
||||
target: [`async-node${process.versions.node.split(".").map(Number)[0]}`],
|
||||
experiments: {
|
||||
topLevelAwait: true,
|
||||
deferImport: true
|
||||
|
|
|
@ -1,12 +1,6 @@
|
|||
/** @type {import("../../../../").Configuration} */
|
||||
module.exports = {
|
||||
output: {
|
||||
// TODO: not sure why CI set optionalChaining to true on Node 10 and fails the test
|
||||
environment: {
|
||||
optionalChaining: false
|
||||
}
|
||||
},
|
||||
optimization: {},
|
||||
target: [`async-node${process.versions.node.split(".").map(Number)[0]}`],
|
||||
experiments: {
|
||||
deferImport: true
|
||||
}
|
||||
|
|
|
@ -1,13 +1,7 @@
|
|||
/** @type {import("../../../../").Configuration} */
|
||||
module.exports = {
|
||||
output: {
|
||||
// TODO: not sure why CI set optionalChaining to true on Node 10 and fails the test
|
||||
environment: {
|
||||
optionalChaining: false
|
||||
}
|
||||
},
|
||||
target: [`async-node${process.versions.node.split(".").map(Number)[0]}`],
|
||||
entry: ["../defer-runtime/all.js"],
|
||||
optimization: {},
|
||||
module: {
|
||||
rules: [
|
||||
{
|
||||
|
|
|
@ -1,13 +1,7 @@
|
|||
/** @type {import("../../../../").Configuration} */
|
||||
module.exports = {
|
||||
output: {
|
||||
// TODO: not sure why CI set optionalChaining to true on Node 10 and fails the test
|
||||
environment: {
|
||||
optionalChaining: false
|
||||
}
|
||||
},
|
||||
target: [`async-node${process.versions.node.split(".").map(Number)[0]}`],
|
||||
entry: ["../defer-runtime/all.js"],
|
||||
optimization: {},
|
||||
experiments: {
|
||||
deferImport: true
|
||||
}
|
||||
|
|
|
@ -1,11 +1,6 @@
|
|||
/** @type {import("../../../../").Configuration} */
|
||||
module.exports = {
|
||||
output: {
|
||||
// TODO: not sure why CI set optionalChaining to true on Node 10 and fails the test
|
||||
environment: {
|
||||
optionalChaining: false
|
||||
}
|
||||
},
|
||||
target: [`async-node${process.versions.node.split(".").map(Number)[0]}`],
|
||||
entry: ["../defer-runtime/all-native-syntax.js"],
|
||||
optimization: {
|
||||
concatenateModules: false
|
||||
|
|
|
@ -1,11 +1,6 @@
|
|||
/** @type {import("../../../../").Configuration} */
|
||||
module.exports = {
|
||||
output: {
|
||||
// TODO: not sure why CI set optionalChaining to true on Node 10 and fails the test
|
||||
environment: {
|
||||
optionalChaining: false
|
||||
}
|
||||
},
|
||||
target: [`async-node${process.versions.node.split(".").map(Number)[0]}`],
|
||||
entry: ["../defer-runtime/all.js"],
|
||||
optimization: {
|
||||
concatenateModules: false
|
||||
|
|
|
@ -1,11 +1,6 @@
|
|||
/** @type {import("../../../../").Configuration} */
|
||||
module.exports = {
|
||||
output: {
|
||||
// TODO: not sure why CI set optionalChaining to true on Node 10 and fails the test
|
||||
environment: {
|
||||
optionalChaining: false
|
||||
}
|
||||
},
|
||||
target: [`async-node${process.versions.node.split(".").map(Number)[0]}`],
|
||||
entry: ["./all.js"],
|
||||
optimization: {
|
||||
concatenateModules: false
|
||||
|
|
|
@ -1,11 +1,6 @@
|
|||
/** @type {import("../../../../").Configuration} */
|
||||
module.exports = {
|
||||
output: {
|
||||
// TODO: not sure why CI set optionalChaining to true on Node 10 and fails the test
|
||||
environment: {
|
||||
optionalChaining: false
|
||||
}
|
||||
},
|
||||
target: [`async-node${process.versions.node.split(".").map(Number)[0]}`],
|
||||
optimization: {
|
||||
concatenateModules: true
|
||||
},
|
||||
|
|
|
@ -1,12 +1,6 @@
|
|||
/** @type {import("../../../../").Configuration} */
|
||||
module.exports = {
|
||||
output: {
|
||||
// TODO: not sure why CI set optionalChaining to true on Node 10 and fails the test
|
||||
environment: {
|
||||
optionalChaining: false
|
||||
}
|
||||
},
|
||||
optimization: {},
|
||||
target: [`async-node${process.versions.node.split(".").map(Number)[0]}`],
|
||||
experiments: {
|
||||
topLevelAwait: true,
|
||||
deferImport: true
|
||||
|
|
|
@ -1,9 +1,4 @@
|
|||
/** @type {import("../../../../").Configuration} */
|
||||
module.exports = {
|
||||
output: {
|
||||
// TODO: not sure why CI set optionalChaining to true on Node 10 and fails the test
|
||||
environment: {
|
||||
optionalChaining: false
|
||||
}
|
||||
}
|
||||
target: [`async-node${process.versions.node.split(".").map(Number)[0]}`]
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue