Created
March 12, 2021 17:29
-
-
Save pi0/5b3dee28f88ca6143d968dc43e00fb74 to your computer and use it in GitHub Desktop.
Webpackbar with Next.js
This file contains hidden or 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
const Webpackbar = require('webpackbar') | |
module.exports = { | |
webpack: (config, { isServer }) => { | |
config.plugins.push(new Webpackbar({ name: isServer ? 'server' : 'client' })) | |
return config | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks !