Blame view

next.config.js 610 Bytes
jay committed
1
/** @type {import('next').NextConfig} */
Ravindra Kanojiya committed
2
const webpack = require("webpack");
jay committed
3 4 5
const nextConfig = {
  reactStrictMode: true,
  swcMinify: true,
Ravindra Kanojiya committed
6 7 8 9 10 11 12 13 14
  webpack: (config, { buildId, dev, isServer, defaultLoaders, webpack }) => {
    config.plugins.push(
     new webpack.ProvidePlugin({
     $: "jquery",
     jQuery: "jquery",
     "window.jQuery": "jquery",
    }));
    return config;
  },
jay committed
15 16 17 18
  env: {
    stripePublishableKey: "pk_test_51LeAqWSD8iV80gmAKccLEZAm1mYnjlzkL1cJxWJKFaHEMPzArGRRECPOG64e8GX2Hd112zBq3vQ3xSVb5IZQCRmh00N3DRtRse"
  },
  images: {
Ravindra Kanojiya committed
19
    domains: ["localhost"]
jay committed
20 21 22 23
  }
};

module.exports = nextConfig;