Next.js Discord

Discord Forum

Build a chrome extension

Unanswered
AM posted this in #help-forum
Open in Discord
AMOP
Hey i'm using "next": "^14.2.5", and I have created:


manifest.json file
{
    "manifest_version": 3,
    "name": "Minimal Manifest",
    "version": "1.0.0",
    "description": "A basic example extension with only required keys",
    "icons": {
        "48": "images/icon-48.png",
        "128": "images/icon-128.png"
    }
}


then my build comand looks like this:

"build": "next build && mv out/_next out/next && rsync -a --exclude='.*' extension/ out/",

and in next.config.mjs i do have:

output: "export",

the problem that i'm facing is that on build I do see this:

Server Actions are not supported with static export.


because of the output: "export",, so do you have any example how to build chrome extension but using server actions too

0 Replies