Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit db6ff0d

Browse files
committedNov 1, 2024·
format
1 parent 86afc72 commit db6ff0d

File tree

1 file changed

+22
-21
lines changed

1 file changed

+22
-21
lines changed
 

‎rollup.config.js

+22-21
Original file line numberDiff line numberDiff line change
@@ -38,25 +38,26 @@ const cjs = (compact) => ({
3838
plugins: createPlugins(compact)
3939
});
4040

41-
export default [{
42-
input: 'src/passwordless.ts',
43-
plugins: [
44-
typescript()
45-
],
46-
output: [
47-
iife(false),
48-
iife(true),
49-
es6(false),
50-
es6(true),
51-
umd(false),
52-
umd(true),
53-
cjs(false),
54-
cjs(true)
55-
]
56-
},{
57-
input: 'src/types.ts',
58-
plugins: [dts()],
59-
output: {
60-
file: "dist/types.d.ts"
41+
export default [
42+
{
43+
input: 'src/passwordless.ts',
44+
plugins: [typescript()],
45+
output: [
46+
iife(false),
47+
iife(true),
48+
es6(false),
49+
es6(true),
50+
umd(false),
51+
umd(true),
52+
cjs(false),
53+
cjs(true)
54+
]
55+
},
56+
{
57+
input: 'src/types.ts',
58+
plugins: [dts()],
59+
output: {
60+
file: 'dist/types.d.ts'
61+
}
6162
}
62-
}];
63+
];

0 commit comments

Comments
 (0)
Please sign in to comment.