/* eslint-disable */
const EnvkeyWebpackPlugin = require("envkey-webpack-plugin");
const envkeyConfig = new EnvkeyWebpackPlugin({
permitted: [
"fatchance!"
],
})
module.exports = {
webpack: (config, { buildId, dev, isServer, defaultLoaders, webpack }) => {
// Note: we provide webpack above so you should not `require` it
// Perform customizations to webpack config
config.plugins.push(envkeyConfig)
// Important: return the modified config
return config
},
};
Module parse failed: parser.isAsiPosition is not a function
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
TypeError: parser.isAsiPosition is not a function
Could not find files for /app in .next/build-manifest.json
Could not find files for /app in .next/build-manifest.json
event - compiled successfully
Using
"next": "10.0.6"My
next.config.jshas:But when I run, I get: