Skip to content

[Bug]: not work when using nextjs server action #153

Open
@BeyondIM

Description

@BeyondIM

version

4.1.0

Link to minimal reproduction

NA

Steps to reproduce

NA

What is expected?

NA

What is actually happening?

I'm using nextjs 15 + tailwind 4 + webpack, all the obfuscator seems to be correct, but server action, which used to work normally, can't get the return value now, for example

const resp = await signInAction({email: refEmail.current.value, password: refPassword.current.value})

resp can get json return value before, now it is undefined.

System Info

System:
    OS: Linux 6.13 Arch Linux
    CPU: (8) x64 Intel(R) Core(TM) i7-8565U CPU @ 1.80GHz
    Memory: 14.16 GB / 31.18 GB
    Container: Yes
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 20.18.2 - ~/.nvm/versions/node/v20.18.2/bin/node
    npm: 10.8.2 - ~/.nvm/versions/node/v20.18.2/bin/npm
    pnpm: 8.10.2 - /usr/local/bin/pnpm
  npmPackages:
    @aws-sdk/client-s3: ^3.750.0 => 3.750.0 
    @dnd-kit/sortable: ^10.0.0 => 10.0.0 
    @eslint/eslintrc: ^3 => 3.3.0 
    @tailwindcss/postcss: ^4 => 4.0.9 
    @types/better-sqlite3: ^7.6.12 => 7.6.12 
    @types/node: ^20 => 20.17.19 
    @types/react: ^19 => 19.0.10 
    @types/react-dom: ^19 => 19.0.4 
    bcryptjs: ^3.0.2 => 3.0.2 
    better-sqlite3: ^11.9.1 => 11.9.1 
    cheerio: ^1.0.0 => 1.0.0 
    clsx: ^2.1.1 => 2.1.1 
    cron: ^4.1.0 => 4.1.0 
    decode-ico: ^0.4.1 => 0.4.1 
    eslint: ^9 => 9.21.0 
    eslint-config-next: 15.2.1 => 15.2.1 
    iconv-lite: ^0.6.3 => 0.6.3 
    immer: ^10.1.1 => 10.1.1 
    jose: ^6.0.8 => 6.0.8 
    nanoid: ^5.1.2 => 5.1.2 
    next: 15.2.1 => 15.2.1 
    next-themes: ^0.4.5 => 0.4.5 
    react: ^19.0.0 => 19.0.0 
    react-dom: ^19.0.0 => 19.0.0 
    sharp: ^0.33.5 => 0.33.5 
    tailwind-merge: ^3.0.2 => 3.0.2 
    tailwind-scrollbar-hide: ^2.0.0 => 2.0.0 
    tailwindcss: ^4 => 4.0.9 
    tailwindcss-patch: ^7.1.0 => 7.1.0 
    typescript: ^5 => 5.7.3 
    unplugin-tailwindcss-mangle: ^4.1.0 => 4.1.0 
    zustand: ^5.0.3 => 5.0.3

Any additional comments?

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions