SHARE
TWEET

Untitled

a guest Jun 19th, 2019 64 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. const withCSS = require("@zeit/next-css");
  2. module.exports = withCSS({
  3.   cssModules: true,
  4.   webpack: config => {
  5.     config.module.rules.push({
  6.       test: /.(eot|woff|woff2|ttf|svg|png|jpg|gif)$/,
  7.       use: {
  8.         loader: "url-loader",
  9.         options: {
  10.           limit: 100000,
  11.           name: "[name].[ext]"
  12.         }
  13.       }
  14.     });
  15.     return config;
  16.   }
  17. });
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top