Skip to content

Commit 1076942

Browse files
committed
Use ESM
1 parent 1e1db28 commit 1076942

9 files changed

+314
-415
lines changed

.gitignore

-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
.DS_Store
22
*.log
3-
.nyc_output/
43
coverage/
54
node_modules/
6-
hast-util-sanitize.js
7-
hast-util-sanitize.min.js
85
yarn.lock

.prettierignore

-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,2 @@
11
coverage/
2-
hast-util-sanitize.js
3-
hast-util-sanitize.min.js
4-
*.json
52
*.md

index.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
'use strict'
2-
module.exports = require('./lib')
1+
export {sanitize} from './lib/index.js'
2+
export {defaultSchema} from './lib/schema.js'

lib/github.json

-227
This file was deleted.

0 commit comments

Comments
 (0)