Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- const withCSS = require("@zeit/next-css");
- module.exports = withCSS({
- cssModules: true,
- webpack: config => {
- config.module.rules.push({
- test: /.(eot|woff|woff2|ttf|svg|png|jpg|gif)$/,
- use: {
- loader: "url-loader",
- options: {
- limit: 100000,
- name: "[name].[ext]"
- }
- }
- });
- return config;
- }
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement