test: add require context

This commit is contained in:
tangjinzhou 2022-07-07 10:07:54 +08:00
parent 85b7741f3c
commit 39e7b8f4b6
2 changed files with 2 additions and 0 deletions

View File

@ -12,6 +12,7 @@ module.exports = {
'@babel/plugin-proposal-class-properties', '@babel/plugin-proposal-class-properties',
'@babel/plugin-syntax-dynamic-import', '@babel/plugin-syntax-dynamic-import',
'@babel/plugin-transform-runtime', '@babel/plugin-transform-runtime',
'transform-require-context',
], ],
}, },
}, },

View File

@ -142,6 +142,7 @@
"babel-plugin-import": "^1.1.1", "babel-plugin-import": "^1.1.1",
"babel-plugin-inline-import-data-uri": "^1.0.1", "babel-plugin-inline-import-data-uri": "^1.0.1",
"babel-plugin-istanbul": "^6.0.0", "babel-plugin-istanbul": "^6.0.0",
"babel-plugin-transform-require-context": "^0.1.1",
"case-sensitive-paths-webpack-plugin": "^2.1.2", "case-sensitive-paths-webpack-plugin": "^2.1.2",
"chalk": "^4.1.1", "chalk": "^4.1.1",
"cheerio": "^1.0.0-rc.2", "cheerio": "^1.0.0-rc.2",