-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
makes build work on Linux on arm64 (apple silicon)
- Loading branch information
Showing
3 changed files
with
452 additions
and
433 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,12 @@ | ||
const withPWA = require('next-pwa') | ||
const nextPwa = require('next-pwa') | ||
const runtimeCaching = require('next-pwa/cache') | ||
|
||
const withPWA = nextPwa({ | ||
dest: 'public', | ||
runtimeCaching, | ||
}) | ||
|
||
module.exports = withPWA({ | ||
pwa: { | ||
dest: 'public', | ||
runtimeCaching, | ||
}, | ||
experimental: { | ||
// needed when building a Docker image for the app | ||
outputStandalone: true, | ||
} | ||
// needed when building a Docker image for the app | ||
output: 'standalone', | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.