fix: clean up pagespeed follow-ups (#120)
This commit is contained in:
@@ -45,8 +45,8 @@ describe('Next.js Config - PageSpeed Optimizations', () => {
|
||||
expect(configContent).toContain("distDir: 'out'");
|
||||
});
|
||||
|
||||
it('enables production browser source maps', () => {
|
||||
expect(configContent).toContain('productionBrowserSourceMaps: true');
|
||||
it('disables production browser source maps', () => {
|
||||
expect(configContent).toContain('productionBrowserSourceMaps: false');
|
||||
});
|
||||
|
||||
it('configures static export', () => {
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
|
||||
import React, { useState, useEffect, useCallback } from "react";
|
||||
import { motion } from "framer-motion";
|
||||
import Image from "next/image";
|
||||
import Link from "next/link";
|
||||
import { LiveDemo } from "@/components/live-demo";
|
||||
import {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
"use client";
|
||||
|
||||
import React, { useState } from "react";
|
||||
import React from "react";
|
||||
import Image from "next/image";
|
||||
|
||||
interface OptimizedImageProps {
|
||||
|
||||
Reference in New Issue
Block a user