Skip to content

Nextjs import / webpack #95

@lucasoptml

Description

@lucasoptml

It (0.1.5) seems to fail with webpack 5 / next js 15.3.4.

I really have no idea why after diving into it a bit. Tested it on a vanilla install.

3x
[webpack.cache.PackFileCacheStrategy] Serializing big strings (114kiB) impacts deserialization performance (consider using Buffer instead and decode when needed)
Failed to compile.

./node_modules/@sparkjsdev/spark/dist/spark.module.js
Module not found: Invalid generator object. Asset Modules Plugin has been initialized using a generator object that does not match the API schema.

  • generator has an unknown property 'filename'. These properties are valid:
    object { binary?, dataUrl? }
    -> Generator options for asset/inline modules.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions