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.
 
 

19 regels
500 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. // require("dotenv").config();
  7. module.exports = withPlugins([[withSass], [withImages]], {
  8. // env: {
  9. // API_URL: process.env.API_URL,
  10. // },
  11. trailingSlash: true,
  12. webpack(config, options) {
  13. config.resolve.modules.push(path.resolve("./"));
  14. return config;
  15. },
  16. generateEtags: false,
  17. });