File tree Expand file tree Collapse file tree 2 files changed +24
-1
lines changed Expand file tree Collapse file tree 2 files changed +24
-1
lines changed Original file line number Diff line number Diff line change
1
+ name : Publish
2
+ on :
3
+ release :
4
+ types : [published]
5
+
6
+ jobs :
7
+ publish :
8
+ runs-on : ubuntu-latest
9
+
10
+ permissions :
11
+ contents : read
12
+ id-token : write
13
+
14
+ steps :
15
+ - uses : actions/checkout@v4
16
+
17
+ - name : Publish package
18
+ run : npx jsr publish
Original file line number Diff line number Diff line change
1
+ /**
2
+ * This entry file is for main unplugin.
3
+ * @module
4
+ */
5
+
1
6
import type { UnpluginFactory , UnpluginInstance } from 'unplugin'
2
7
import { createUnplugin } from 'unplugin'
3
8
import type { IndexHtmlTransformContext , Logger } from 'vite'
@@ -62,6 +67,6 @@ export const unpluginFactory: UnpluginFactory<Options> = options => ({
62
67
} ,
63
68
} )
64
69
65
- export const unplugin : UnpluginInstance < Options , boolean > = createUnplugin ( unpluginFactory )
70
+ const unplugin : UnpluginInstance < Options , boolean > = createUnplugin ( unpluginFactory )
66
71
67
72
export default unplugin
You can’t perform that action at this time.
0 commit comments