File tree Expand file tree Collapse file tree 3 files changed +12
-18
lines changed Expand file tree Collapse file tree 3 files changed +12
-18
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -5,14 +5,14 @@ import remarkTorchLight from "remark-torchlight";
5
5
import remarkRehype from "remark-rehype" ;
6
6
import rehypeStringify from "rehype-stringify" ;
7
7
import rehypeDocument from "rehype-document" ;
8
- import { composeConfigs } from "../remark/remark-compose-configs.js" ;
9
- import specsConfig from "./.remarkrc-specs.js" ;
8
+ import specsPreset from "./.remarkrc-specs.js" ;
10
9
11
10
12
11
dotenv . config ( ) ;
13
12
14
- export default composeConfigs ( specsConfig , {
13
+ export default {
15
14
plugins : [
15
+ specsPreset ,
16
16
remarkTorchLight ,
17
17
remarkRehype ,
18
18
[ rehypeDocument , {
@@ -26,4 +26,4 @@ export default composeConfigs(specsConfig, {
26
26
}
27
27
}
28
28
]
29
- } ) ;
29
+ } ;
Original file line number Diff line number Diff line change 1
- import { composeConfigs } from "../remark/remark-compose-configs.js" ;
2
- import specConfig from "./.remarkrc-specs.js" ;
3
- import lintConfig from "../.remarkrc-lint.js" ;
1
+ import specPreset from "./.remarkrc-specs.js" ;
2
+ import lintPreset from "../.remarkrc-lint.js" ;
4
3
5
4
6
- export default composeConfigs ( specConfig , lintConfig ) ;
5
+ export default {
6
+ plugins : [
7
+ specPreset ,
8
+ lintPreset
9
+ ]
10
+ } ;
You can’t perform that action at this time.
0 commit comments