mirror of https://github.com/webpack/webpack.git
fix typo
This commit is contained in:
parent
853bfda35a
commit
f2bc0db07f
|
@ -65,7 +65,7 @@ module.exports = class HarmonyDetectionParserPlugin {
|
|||
const module = parser.state.module;
|
||||
if (!this.topLevelAwait) {
|
||||
throw new Error(
|
||||
"The top-level-await experiment is not enabled (set experiments.topLevelAwait: true to enabled it)"
|
||||
"The top-level-await experiment is not enabled (set experiments.topLevelAwait: true to enable it)"
|
||||
);
|
||||
}
|
||||
if (!HarmonyExports.isEnabled(parser.state)) {
|
||||
|
|
Loading…
Reference in New Issue