You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

21 rivejä
555 B

  1. const withPlugins = require("next-compose-plugins");
  2. const withImages = require("next-images");
  3. const withSass = require("@zeit/next-sass");
  4. const webpack = require("webpack");
  5. const path = require("path");
  6. const withCSS = require('@zeit/next-css');
  7. // require("dotenv").config();
  8. module.exports = withPlugins([[withSass], [withImages], [withCSS]], {
  9. // env: {
  10. // API_URL: process.env.API_URL,
  11. // },
  12. trailingSlash: true,
  13. webpack(config, options) {
  14. config.resolve.modules.push(path.resolve("./"));
  15. return config;
  16. },
  17. generateEtags: false,
  18. });