Skip to content

Conversation

nene
Copy link
Owner

@nene nene commented Dec 10, 2023

Didn't manage to get it working. Running into an error:

    DataCloneError: function (text, options) {
            return (0, transformCst_1.transformCst)((0, sql_parser_cst_1.parse)(text, {
    ...<omitted>... } could not be cloned.

This likely happens because I need to pass the whole plugin as a parameter to Prettier and synckit is unable to serialize functions.

Additionally I still need to use the --experimental-vm-modules flag, so there's no win in this area also.

@nene nene mentioned this pull request Dec 10, 2023
@nene nene closed this Dec 10, 2023
@nene nene deleted the prettier-3-synckit branch January 27, 2024 18:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant