Skip to content

[FEAT] Add ES Modules support #472

Description

@kevinfaveri
  • Maizzle Version: 3.0.0
  • Node.js Version: 14

Using maizzle version 3.0.0 with its Cli it does not load the config file if the project has "type": "module" specified in the package.json:
Instead rename config.maizzle.js to end in .cjs, change the requiring code to use import(), or remove "type": "module" from

I got this log monkey patching the code.... But the library just returns:
UnhandledPromiseRejectionWarning: Error: could not load 'config.maizzle.js'

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions