Skip to content

Commit 39e7b8f

Browse files
committed
test: add require context
1 parent 85b7741 commit 39e7b8f

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

babel.config.js

+1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ module.exports = {
1212
'@babel/plugin-proposal-class-properties',
1313
'@babel/plugin-syntax-dynamic-import',
1414
'@babel/plugin-transform-runtime',
15+
'transform-require-context',
1516
],
1617
},
1718
},

package.json

+1
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,7 @@
142142
"babel-plugin-import": "^1.1.1",
143143
"babel-plugin-inline-import-data-uri": "^1.0.1",
144144
"babel-plugin-istanbul": "^6.0.0",
145+
"babel-plugin-transform-require-context": "^0.1.1",
145146
"case-sensitive-paths-webpack-plugin": "^2.1.2",
146147
"chalk": "^4.1.1",
147148
"cheerio": "^1.0.0-rc.2",

0 commit comments

Comments
 (0)