Skip to content

Commit

Permalink
Build: Unbreak rollup watch mode
Browse files Browse the repository at this point in the history
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 rollup/rollup#4460.
  • Loading branch information
Krinkle committed Apr 10, 2022
1 parent 218a9ab commit a9be506
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build/watch.js
Expand Up @@ -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');

Expand Down

0 comments on commit a9be506

Please sign in to comment.