8000 unplugin-ast issue · Issue #54 · romhml/compodium · GitHub
[go: up one dir, main page]

Skip to content

unplugin-ast issue #54

Closed
Closed

Description

@g0shed

Hey there,

unfortunately I'm getting this issue when loading nuxt :

`ERROR Pre-transform error: This experimental syntax requires enabling one of the following parser plugin(s): "decorators", "decorators-legacy". (1:0) 1:36:46 PM
Plugin: unplugin-ast
File: <local_path>/monorepo/packages/ui/app/assets/fonts/fonts.css:1:0
1 | @font-face {
| ^
2 | font-family: 'Codec Warm';
3 | src: local('Codec Warm Extra Light'), local('CodecWarm-ExtraLight'),

ERROR Pre-transform error: Missing semicolon. (2:4) 1:36:48 PM
Plugin: unplugin-ast
File: <local_path>/node_modules/.pnpm/@Compodium+core@0.1.0-beta.8_typescript@5.8.3_vite@6.2.6_@types+node@22.14.0_jiti@2.4.2_661ffd34776268f99def8c5d80487032/node_modules/@compodium/core/dist/runtime/preview.vue?vue&type=style&index=0&lang.css:8:0
1 |
2 | html {
| ^
3 | background: var(--ui-bg, white);
4 | }`

Activity

  1. romhml commented on Apr 13, 2025

    @romhml
    Owner

    Hey! Could you send me a small reproduction so I can investigate the issue?

  2. romhml commented on Apr 14, 2025

    @romhml
    Owner

    You can temporarily fix this by adding "unplugin-ast": "0.14.4" to your resolutions. I'll release a fix soon.

  3. romhml commented on Apr 19, 2025

    @romhml
    Owner

    The issue should be fixed in the latest release. Make sure to refresh your lockfile if you still experience the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      0