File tree 2 files changed +5
-4
lines changed
2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " rehype-prism-plus" ,
3
- "version" : " 0.1 .0" ,
3
+ "version" : " 1.0 .0" ,
4
4
"description" : " rehype plugin to highlight code blocks in HTML with Prism (via refractor) with line highlighting and line numbers" ,
5
5
"source" : " index.js" ,
6
6
"files" : [
7
7
" dist"
8
8
],
9
- "main" : " ./dist/rehype-prism-plus.umd .js" ,
9
+ "main" : " ./dist/rehype-prism-plus.es .js" ,
10
10
"module" : " ./dist/rehype-prism-plus.es.js" ,
11
11
"types" : " ./dist/index.d.ts" ,
12
12
"type" : " module" ,
13
13
"exports" : {
14
14
"." : {
15
15
"import" : " ./dist/rehype-prism-plus.es.js" ,
16
- "require" : " ./dist/rehype-prism-plus.umd .js"
16
+ "require" : " ./dist/rehype-prism-plus.es .js"
17
17
}
18
18
},
19
19
"scripts" : {
Original file line number Diff line number Diff line change @@ -5,7 +5,8 @@ module.exports = {
5
5
build : {
6
6
lib : {
7
7
entry : path . resolve ( __dirname , 'index.js' ) ,
8
- name : 'rehype-prism-plus'
8
+ name : 'rehype-prism-plus' ,
9
+ formats : [ 'es' ] ,
9
10
} ,
10
11
// do not empty output directory as it contains typescript declarations.
11
12
emptyOutDir : false ,
You can’t perform that action at this time.
0 commit comments