mirror of
https://github.com/transloadit/uppy.git
synced 2026-01-23 02:25:07 +00:00
parent
1d21d9ce77
commit
c66fd85340
5 changed files with 11 additions and 6 deletions
7
.changeset/puny-llamas-tap.md
Normal file
7
.changeset/puny-llamas-tap.md
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
---
|
||||
"@uppy/redux-dev-tools": patch
|
||||
"@uppy/provider-views": patch
|
||||
"@uppy/store-redux": patch
|
||||
---
|
||||
|
||||
Fix package.json import
|
||||
|
|
@ -15,8 +15,7 @@ import remoteFileObjToLocal from '@uppy/utils/lib/remoteFileObjToLocal'
|
|||
import type { I18n } from '@uppy/utils/lib/Translator'
|
||||
import classNames from 'classnames'
|
||||
import { h } from 'preact'
|
||||
// @ts-ignore We don't want TS to generate types for the package.json
|
||||
import packageJson from '../../package.json'
|
||||
import packageJson from '../../package.json' with { type: 'json' }
|
||||
import Browser from '../Browser.js'
|
||||
import FooterActions from '../FooterActions.js'
|
||||
import SearchInput from '../SearchInput.js'
|
||||
|
|
|
|||
|
|
@ -14,8 +14,7 @@ import type { CompanionFile } from '@uppy/utils/lib/CompanionFile'
|
|||
import remoteFileObjToLocal from '@uppy/utils/lib/remoteFileObjToLocal'
|
||||
import classNames from 'classnames'
|
||||
import { h } from 'preact'
|
||||
// @ts-ignore We don't want TS to generate types for the package.json
|
||||
import packageJson from '../../package.json'
|
||||
import packageJson from '../../package.json' with { type: 'json' }
|
||||
import Browser from '../Browser.js'
|
||||
import FooterActions from '../FooterActions.js'
|
||||
import SearchInput from '../SearchInput.js'
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
import { UIPlugin } from '@uppy/core'
|
||||
|
||||
import packageJson from '../package.json'
|
||||
import packageJson from '../package.json' with { type: 'json' }
|
||||
|
||||
/**
|
||||
* Add Redux DevTools support to Uppy
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
import { nanoid } from 'nanoid/non-secure'
|
||||
|
||||
import packageJson from '../package.json'
|
||||
import packageJson from '../package.json' with { type: 'json' }
|
||||
|
||||
// Redux action name.
|
||||
export const STATE_UPDATE = 'uppy/STATE_UPDATE'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue