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
|
|
|
|
},
|
|
|
|
}));
|