Skip to content
This repository has been archived by the owner on May 17, 2023. It is now read-only.

Commit

Permalink
fix: webpack is not defined to vercel/next.js#21679
Browse files Browse the repository at this point in the history
  • Loading branch information
talmog committed Mar 16, 2021
1 parent 5fe84b8 commit 6e32c67
Show file tree
Hide file tree
Showing 3 changed files with 1,221 additions and 2,584 deletions.
10 changes: 4 additions & 6 deletions next.config.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
require('dotenv').config();
const withCSS = require('@zeit/next-css');


module.exports = withCSS({
module.exports = {
webpack(config) {
config.module.rules.push({
test: /\.svg$/,
Expand All @@ -21,6 +19,6 @@ module.exports = withCSS({
PORT: process.env.PORT,
},
cssLoaderOptions: {
url: false
}
});
url: false,
},
};
Loading

0 comments on commit 6e32c67

Please sign in to comment.