Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SyntaxError: Expecting Unicode escape sequence \uXXXX. #104

Open
crrmacarse opened this issue Feb 4, 2022 · 0 comments
Open

SyntaxError: Expecting Unicode escape sequence \uXXXX. #104

crrmacarse opened this issue Feb 4, 2022 · 0 comments

Comments

@crrmacarse
Copy link

  • babel-plugin-preval version: v5.0.0
  • node version: v14.17.0
  • npm (or yarn) version: npm v6.14.13

Relevant code or config

import tailwindConfig from /* preval */ '../tailwind.config';

export const extractedTailwindConfig = tailwindConfig;
export const extractedTailwindTheme = extractedTailwindConfig.theme;

What you did: Suddenly appeared after doing an npm ci

What happened:

We're utilizing babel-plugin-react in our nextjs project as a way to easily extract tailwind theme config variables. However, after doing an npm ci this issue suddenly appeared.

image

I'm currently utilizing windows and it seem to flag out the macOS' /r. Removing all the new line and sticking everything together seem to fix it.

Any help would be appreciated as we're currently lost with this issue

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

No branches or pull requests

1 participant