Remove outdated hack for flow parser (#13442)

This commit is contained in:
fisker Cheung authored and GitHub committed 2022-09-08 09:43:47 +08:00
1 parent e3ef1e4566
commit 6082e3ec9e
1 file changed
-8
-8
View File
@@ -44,14 +44,6 @@ const parsers = [
},
{
input: "src/language-js/parse/flow.js",
replaceModule: [
// `flow-parser` use this for `globalThis`, can't work in strictMode
{
module: require.resolve("flow-parser"),
find: "(function(){return this}())",
replacement: "(globalThis)",
},
],
},
{
input: "src/language-js/parse/typescript.js",