Open
Description
I am working on migrating a web application to Next.js in this repo. However, I am running into an issue where the basePath
is seemingly not injected.
My configuration looks like the following:
const withPWA = require("next-pwa")({
dest: "public",
});
module.exports = withPWA({
compiler: {
styledComponents: true,
},
reactStrictMode: true,
});
However, the step using the actions/configure-pages
action outputs this warning from #43:
Warning: Unsupported configuration file extension. Currently supported extensions: ".js", ".cjs", ".mjs"
Other than the fact that the next.config.js
configuration uses the .js
extension, it seems that the action fails to inject properties into a configuration wrapped by a higher-order withPWA
function. A more useful error is not logged, so this issue is hard to diagnose.
Metadata
Metadata
Assignees
Labels
No labels