Skip to content
Snippets Groups Projects
Select Git revision
  • 5c1ad6fa09eb1e01e4178f15525cf59ed8fbbe83
  • master default protected
  • homologa protected
  • development protected
  • msh22-development-patch-10494
  • nova-correcao-funcionarios-2024
  • revert-222fa403
  • enrollment_rate
  • es23-docentes-por-ente-federativo
  • teachers-ies
  • es23-superior-enrollment
  • instruction_level_fix2
  • hotfix-enrollment-aggregate
  • instruction_level_fixes
  • docentes-ies-ente-federativo
  • receita-potencial
  • #974-receita-potencial
  • db-conn
  • years-of-study-mean
  • new-indicators
  • issue_935
  • v1.16.0
  • v1.15.1
  • v1.14.2
  • v1.14.1
  • v1.14.0
  • v1.14
  • v1.9.0
  • v1.8.3
  • v1.8.2
  • v1.8.1
  • v1.8.0
  • v1.7.0
  • v1.6.1
  • v1.6.0
  • v1.5.0
  • v1.4.2
  • v1.4.1
  • v1.4.0
  • v1.3.3
  • v1.3.2
41 results

microregion.js

Blame
  • next.config.mjs 1.23 KiB
    /** @type {import('next').NextConfig} */
    const nextConfig = {
        output: 'standalone',
        reactStrictMode: false,
        webpack: (config) => {
            config.resolve.alias.canvas = false;
            const fileLoaderRule = config.module.rules.find((rule) =>
                rule.test?.test?.(".svg")
                );
        
                config.module.rules.push(
                {
                    ...fileLoaderRule,
                    test: /\.svg$/i,
                    resourceQuery: /url/,
                },
        
                {
                    test: /\.svg$/i,
                    issuer: fileLoaderRule.issuer,
                    resourceQuery: { not: [...fileLoaderRule.resourceQuery.not, /url/] },
                    use: ["@svgr/webpack"],
                }
                );
        
                fileLoaderRule.exclude = /\.svg$/i;
            return config;
        },
        images: {
            remotePatterns: [
                {
                    protocol: 'https',
                    hostname: 'api.mecred.c3sl.ufpr.br',
                    port: '',
                    pathname: '/**',
                },
                {
                    protocol: 'http',
                    hostname: 'mecdb4.c3sl.ufpr.br',
                    port: '443',
                    pathname: '/**',
                },
            ],
        },
    };
    
    export default nextConfig;