Skip to content

Add next build [--output directory] option ? #765

@zapkub

Description

@zapkub

Hi,

I do some custom server load with babel,
so before goto production it need to be compiled to standard javascript in another build folder and it should include .next folder.

I wonder if this option may helpful ?

This is how I manage it now

#build.sh
#!/usr/bin/env bash

npm run clean

# next build ./src
npm run build 

cp -r ./src/.next ./build/.next
npm run build-server

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions