Use Modern ECMAScript Module Syntax - johnste/finicky GitHub Wiki
Instead of using CommonJS (module.exports), use modern ECMAScript module syntax in your configuration file. Here's how to update your configuration:
❌ Don't use CommonJS syntax:
module.exports = {
defaultBrowser: "Firefox",
// ... configuration
};
✅ Do use ECMAScript module syntax:
export default {
defaultBrowser: "Firefox",
// ... configuration
};
Finicky v4 supports this syntax for the time being to make upgrading simpler, but support for this configuration will be removed in a future version.