Skip to content

Commit 2d0239c

Browse files
Remove babel. Update vite configs. (#70)
1 parent edf485f commit 2d0239c

File tree

88 files changed

+4852
-8456
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

88 files changed

+4852
-8456
lines changed

.babelrc

-4
This file was deleted.

.nvmrc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
14.17.6
1+
16.17.0

CHANGELOG.md

+7

README.md

+9-9
File renamed without changes.

dist/constants/events.d.ts.map

+1
Original file line numberDiff line numberDiff line change
File renamed without changes.

dist/constants/file.d.ts.map

+1
Original file line numberDiff line numberDiff line change
File renamed without changes.

dist/constants/images.d.ts.map

+1
Original file line numberDiff line numberDiff line change
File renamed without changes.

dist/constants/style.d.ts.map

+1
Original file line numberDiff line numberDiff line change
File renamed without changes.

dist/constants/text.d.ts.map

+1
Original file line numberDiff line numberDiff line change

dist/file-upload-with-preview.cjs

+34
Large diffs are not rendered by default.

dist/file-upload-with-preview.cjs.js

-1,360
This file was deleted.

dist/types/src/file-upload-with-preview.d.ts renamed to dist/file-upload-with-preview.d.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ export interface Images {
5656
*/
5757
successVideoImage?: string;
5858
}
59-
export declare type PresetFiles = string[];
59+
export type PresetFiles = string[];
6060
/**
6161
* Options to customize the library
6262
*/
@@ -100,7 +100,7 @@ export interface Options {
100100
*/
101101
text?: Text;
102102
}
103-
export declare type RequiredOptions = Required<Options> & {
103+
export type RequiredOptions = Required<Options> & {
104104
images: Required<Images>;
105105
text: Required<Text>;
106106
};

dist/file-upload-with-preview.d.ts.map

+1
Original file line numberDiff line numberDiff line change

dist/file-upload-with-preview.esm.js

-1,351
This file was deleted.

dist/file-upload-with-preview.iife.js

+34-1,365
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/file-upload-with-preview.jpg

162 KB

dist/file-upload-with-preview.js

+231
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/file-upload-with-preview.min.css

-120
This file was deleted.

dist/types/src/index.d.ts renamed to dist/index.d.ts

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import './index.scss';
21
export * from './constants/events';
32
export * from './constants/images';
43
export * from './file-upload-with-preview';

dist/index.d.ts.map

+1
Original file line numberDiff line numberDiff line change

dist/style.css

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
File renamed without changes.

dist/types/events.d.ts.map

+1
Original file line numberDiff line numberDiff line change

dist/types/example/index.d.ts

-3
This file was deleted.

dist/types/example/index.d.ts.map

-1
This file was deleted.

dist/types/jest/constants/file.d.ts

-3
This file was deleted.

dist/types/jest/constants/file.d.ts.map

-1
This file was deleted.

dist/types/src/constants/events.d.ts.map

-1
This file was deleted.

dist/types/src/constants/file.d.ts.map

-1
This file was deleted.

dist/types/src/constants/images.d.ts.map

-1
This file was deleted.

dist/types/src/constants/style.d.ts.map

-1
This file was deleted.

dist/types/src/constants/text.d.ts.map

-1
This file was deleted.

dist/types/src/file-upload-with-preview.d.ts.map

-1
This file was deleted.

dist/types/src/file-upload-with-preview.spec.d.ts

-2
This file was deleted.

dist/types/src/file-upload-with-preview.spec.d.ts.map

-1
This file was deleted.

dist/types/src/index.d.ts.map

-1
This file was deleted.

dist/types/src/types/events.d.ts.map

-1
This file was deleted.

dist/types/src/utils/file.d.ts.map

-1
This file was deleted.
File renamed without changes.

dist/utils/file.d.ts.map

+1
Original file line numberDiff line numberDiff line change

docs/assets/index-4b89c21a.js

+34
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
File renamed without changes.

docs/assets/index.27d13032.js

-34
This file was deleted.

0 commit comments

Comments
 (0)