Skip to content

Commit

Permalink
chore: remove circular dependency issue on main branch builds (#2897)
Browse files Browse the repository at this point in the history
  • Loading branch information
tujoworker authored Nov 14, 2023
1 parent 2d54a13 commit 62411f5
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 6 deletions.
9 changes: 9 additions & 0 deletions packages/dnb-eufemia/rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,15 @@ export default !/^(release|beta|alpha|next|portal|main)$/.test(
excludes,
}
),
makeRollupConfig(
'./src/umd/dnb-ui-extensions.ts',
'build/umd/dnb-ui-extensions.min.js',
{
name: 'dnbExtensions',
format: 'umd',
excludes,
}
),
]
: [
makeRollupConfig(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ import { JSONSchema7 } from 'json-schema'
import { ValidateFunction } from 'ajv'
import ajv, { ajvErrorsToFormErrors } from '../../utils/ajv'
import { FormError } from '../../types'
import { useMountEffect, useUpdateEffect } from '../../hooks'
import useMountEffect from '../../hooks/useMountEffect'
import useUpdateEffect from '../../hooks/useUpdateEffect'
import Context, { ContextState } from '../Context'

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,9 @@ import { Context } from '../DataContext'
import FieldBlockContext from '../FieldBlock/FieldBlockContext'
import IterateElementContext from '../Iterate/IterateElementContext'
import { makeUniqueId } from '../../../shared/component-helper'
import {
useMountEffect,
useUpdateEffect,
useProcessManager,
} from '../hooks'
import useMountEffect from './useMountEffect'
import useUpdateEffect from './useUpdateEffect'
import useProcessManager from './useProcessManager'

interface ReturnAdditional<Value> {
id: string
Expand Down

0 comments on commit 62411f5

Please sign in to comment.