Browse Source

test: add require context

pull/5786/head
tangjinzhou 2 years ago
parent
commit
39e7b8f4b6
  1. 1
      babel.config.js
  2. 1
      package.json

1
babel.config.js

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

1
package.json

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

Loading…
Cancel
Save