From a9be50645c89b2a4fcf1365f8ad962e905f6f678 Mon Sep 17 00:00:00 2001 From: Timo Tijhof Date: Sun, 10 Apr 2022 16:40:13 +0100 Subject: [PATCH] Build: Unbreak rollup watch mode After updating from rollup 2.56.3 to 2.70.1, this broke because upstream maps the extension-less variant to ESM. This will hopefully be fixed soon, but is easy enough to workaround in the interim. Workaround upstream https://github.com/rollup/rollup/issues/4460. --- build/watch.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/watch.js b/build/watch.js index 6be3869c1..3900090e2 100644 --- a/build/watch.js +++ b/build/watch.js @@ -5,7 +5,7 @@ const path = require('path'); const rollup = require('rollup'); const kleur = require('kleur'); const watch = require('node-watch'); -const loadConfigFile = require('rollup/dist/loadConfigFile'); +const loadConfigFile = require('rollup/dist/loadConfigFile.js'); const { preprocess } = require('./dist-replace.js');