summaryrefslogtreecommitdiff
path: root/babel.config.js
diff options
context:
space:
mode:
Diffstat (limited to 'babel.config.js')
-rw-r--r--babel.config.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/babel.config.js b/babel.config.js
index b8daaabc..073c3383 100644
--- a/babel.config.js
+++ b/babel.config.js
@@ -1,3 +1,8 @@
module.exports = {
presets: [['@vue/cli-plugin-babel/preset', { useBuiltIns: 'entry' }]],
+ env: {
+ test: {
+ plugins: ['transform-require-context'],
+ },
+ },
};