Advertisement
Guest User

Untitled

a guest
Jun 19th, 2019
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  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. });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement