Skip to content

atomically - require() of ES Module #178

@davekobrenski

Description

@davekobrenski

In version 5.0.0, the settings.js file attempts to require atomically (ES module) instead of import, and thus throws an error. Seems like an easy fix?

require() of ES Module [...]/atomically/dist/index.js from [...]/electron-settings/dist/settings.js not supported.

Instead change the require of index.js in [...]/settings.js to a dynamic import() which is available in all CommonJS modules.

I see that version 5.0.0 is only a few hours old :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions