From 97c6378b23c8f712807dbdf1a1fb473a4cb4efba Mon Sep 17 00:00:00 2001 From: Ben Talbot Date: Sun, 20 Mar 2022 10:59:02 +1000 Subject: [PATCH] Workaround stupid handlebars import bug See https://github.com/handlebars-lang/handlebars.js/issues/1174. --- next.config.js | 1 + 1 file changed, 1 insertion(+) diff --git a/next.config.js b/next.config.js index 5d7680b..bb736f7 100644 --- a/next.config.js +++ b/next.config.js @@ -5,6 +5,7 @@ module.exports = { reactStrictMode: true, webpack: (config) => { config.resolve.alias['qcr-sites-shared'] = path.resolve(__dirname, 'src/'); + config.resolve.alias['handlebars'] = 'handlebars/dist/handlebars'; config.module.rules.push( ...[ {