1
0
mirror of https://github.com/kamranahmedse/developer-roadmap.git synced 2025-02-26 04:22:36 +01:00
developer-roadmap/next.config.js

18 lines
383 B
JavaScript
Raw Normal View History

2019-08-24 18:34:46 +04:00
const withSass = require('@zeit/next-sass');
2019-09-04 15:27:00 +04:00
const withCSS = require('@zeit/next-css');
2019-08-24 18:34:46 +04:00
2019-09-04 16:32:25 +04:00
module.exports = withCSS(withSass({
webpack(config, options) {
config.module.rules.push({
test: /\.(png|jpg|gif|svg|eot|ttf|woff|woff2)$/,
use: {
loader: 'url-loader',
options: {
limit: 100000,
},
},
});
return config
},
}));