Skip to content

Commit 7455652

Browse files
committed
fix: use default exports of CJS modules
So that there won't be extraneous `default` property. Fixed prettierrc generation of default style guide.
1 parent 3f8292e commit 7455652

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import { stringify } from 'javascript-stringify'
22

33
import * as editorconfigs from './templates/editorconfigs.js'
4-
import * as prettierrcs from './templates/prettierrcs.cjs'
54

5+
import prettierrcs from './templates/prettierrcs.cjs'
66
import versionMap from './versionMap.cjs'
77

88
const CREATE_ALIAS_SETTING_PLACEHOLDER = 'CREATE_ALIAS_SETTING_PLACEHOLDER'

0 commit comments

Comments
 (0)