From 74a8deacfa37cf029c78aa59db70c845ead9ddd2 Mon Sep 17 00:00:00 2001 From: David Stone Date: Mon, 10 Oct 2022 19:59:16 -0600 Subject: [PATCH] Use loose template literals to avoid bug in nft https://github.com/vercel/nft/issues/314 --- babel.config.js | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/babel.config.js b/babel.config.js index 7f194e7b..2001954d 100644 --- a/babel.config.js +++ b/babel.config.js @@ -1,4 +1,12 @@ module.exports = { + "plugins": [ + [ + "@babel/plugin-transform-template-literals", + { + "loose": true + } + ] + ], 'presets': [ [ '@babel/preset-env', @@ -9,4 +17,4 @@ module.exports = { }, ], ], -}; \ No newline at end of file +};