## Description - Eject the application from create react app - Remove references to craco in the scripts and package.json dependencies - Port craco changes to webpack configuration - Remove SASS and SCSS loaders - Add babel-plugin-lodash - Remove type checks and eslint from webpack Fixes #38903 ## Automation /ok-to-test tags="@tag.All" ### 🔍 Cypress test results <!-- This is an auto-generated comment: Cypress test results --> > [!TIP] > 🟢 🟢 🟢 All cypress tests have passed! 🎉 🎉 🎉 > Workflow run: <https://github.com/appsmithorg/appsmith/actions/runs/13323376575> > Commit: 8f206bdf2ab40f2162b8a32ead78715e850fbf58 > <a href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=13323376575&attempt=1" target="_blank">Cypress dashboard</a>. > Tags: `@tag.All` > Spec: > <hr>Fri, 14 Feb 2025 07:06:14 UTC <!-- end of auto-generated comment: Cypress test results --> ## Communication Should the DevRel and Marketing teams inform users about this change? - [ ] Yes - [x] No <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Introduced enhanced HTTPS configuration with improved security validations. - Improved handling of environment variables for a more robust configuration experience. - **Chores** - Upgraded and streamlined the build and start processes for better reliability and faster launches. - Refined dependency management and optimized bundling to improve performance. - Modernized module resolution and asset type definitions for a more efficient development workflow. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
69 lines
1.2 KiB
TypeScript
69 lines
1.2 KiB
TypeScript
/// <reference types="node" />
|
|
declare namespace NodeJS {
|
|
interface ProcessEnv {
|
|
readonly NODE_ENV: "development" | "production" | "test";
|
|
readonly PUBLIC_URL: string;
|
|
}
|
|
}
|
|
|
|
declare module "*.avif" {
|
|
const src: string;
|
|
export default src;
|
|
}
|
|
|
|
declare module "*.bmp" {
|
|
const src: string;
|
|
export default src;
|
|
}
|
|
|
|
declare module "*.gif" {
|
|
const src: string;
|
|
export default src;
|
|
}
|
|
|
|
declare module "*.jpg" {
|
|
const src: string;
|
|
export default src;
|
|
}
|
|
|
|
declare module "*.jpeg" {
|
|
const src: string;
|
|
export default src;
|
|
}
|
|
|
|
declare module "*.png" {
|
|
const src: string;
|
|
export default src;
|
|
}
|
|
|
|
declare module "*.webp" {
|
|
const src: string;
|
|
export default src;
|
|
}
|
|
|
|
declare module "*.svg" {
|
|
import type * as React from "react";
|
|
|
|
export const ReactComponent: React.FunctionComponent<
|
|
React.SVGProps<SVGSVGElement> & { title?: string }
|
|
>;
|
|
|
|
const src: string;
|
|
export default src;
|
|
}
|
|
|
|
declare module "*.module.css" {
|
|
const classes: { readonly [key: string]: string };
|
|
export default classes;
|
|
}
|
|
|
|
declare module "*.module.scss" {
|
|
const classes: { readonly [key: string]: string };
|
|
export default classes;
|
|
}
|
|
|
|
declare module "*.module.sass" {
|
|
const classes: { readonly [key: string]: string };
|
|
export default classes;
|
|
}
|