Skip to content

Failed to resolve import "@tinymce/miniature" #590

@mgrunberg

Description

@mgrunberg

What is the current behavior?

After upgrading from 6.1.0 to 6.2.0 my vite assets compilation breaks with the following error

[vite]: Rollup failed to resolve import "@tinymce/miniature" from "node_modules/@tinymce/tinymce-react/lib/es2015/main/ts/Utils.js".
This is most likely unintended because it can break your application at runtime.
If you do want to externalize this module explicitly add it to

Please provide the steps to reproduce and if possible a minimal demo of the problem via codesandbox.io or similar.

codesandbox

What is the expected behavior?

Be able to build assets without problems

Which versions of TinyMCE, and which browser / OS are affected by this issue? Did this work in previous versions of TinyMCE or tinymce-react?

tinymce-react v6.2.0

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