Remove outdated hack for flow parser (#13442)
This commit is contained in:
1 parent
e3ef1e4566
commit
6082e3ec9e
1 file changed
-8
@@ -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",
|
||||
|
||||
Reference in new issue
Block a user