R: Update inline packages
Some checks failed
Frontend CI / build (22.x) (push) Has been cancelled

This commit is contained in:
Ivan 2025-02-26 23:49:34 +03:00
parent 8c1cde76fe
commit 238a22b42f
3 changed files with 19 additions and 7 deletions

View File

@ -122,7 +122,6 @@ export function FormConstituenta({ disabled, id, toggleReset, schema, activeCst,
name='item_data.term_raw'
render={({ field }) => (
<RefsInput
key='cst_term'
id='cst_term'
label='Термин'
maxHeight='8rem'
@ -219,8 +218,6 @@ export function FormConstituenta({ disabled, id, toggleReset, schema, activeCst,
{!showConvention && (!disabled || isProcessing) ? (
<button
key='cst_disable_comment'
id='cst_disable_comment'
type='button'
tabIndex={-1}
className='self-start cc-label text-sec-600 hover:underline'
@ -233,8 +230,6 @@ export function FormConstituenta({ disabled, id, toggleReset, schema, activeCst,
{!disabled || isProcessing ? (
<div className='mx-auto flex'>
<SubmitButton
key='cst_form_submit'
id='cst_form_submit'
text='Сохранить изменения'
disabled={disabled || !isModified}
icon={<IconSave size='1.25rem' />}

View File

@ -26,8 +26,8 @@ export function ToolbarRSExpression({ disabled, showTypeGraph, showAST }: Toolba
/>
) : null}
<MiniButton
icon={<IconTypeGraph size='1.25rem' className='icon-primary' />}
title='Граф ступеней типизации'
icon={<IconTypeGraph size='1.25rem' className='icon-primary' />}
onClick={showTypeGraph}
/>
<MiniButton

View File

@ -11,7 +11,24 @@ const reactCompilerConfig = {
};
// Packages to include in main app bundle
const inlinePackages = ['react', 'react-router', 'react-dom', 'global', 'react-scan'];
const inlinePackages = [
'react',
'react-router',
'react-dom',
'react-icons',
'react-hook-form',
'react-tooltip',
'react-toastify',
'global',
'react-scan',
'axios',
'zod',
'zustand',
'@tanstack/react-query',
'@hookform/resolvers'
];
// Rollup warnings that should not be displayed
const warningsToIgnore = [