diff --git a/examples/with-javascript-tailwindcss/renderer/next.config.js b/examples/with-javascript-tailwindcss/renderer/next.config.js index a046706a..b40838f9 100644 --- a/examples/with-javascript-tailwindcss/renderer/next.config.js +++ b/examples/with-javascript-tailwindcss/renderer/next.config.js @@ -2,6 +2,9 @@ module.exports = { webpack: (config, { isServer }) => { if (!isServer) { config.target = 'electron-renderer'; + config.node = { + __dirname: true, + }; } return config;