Skip to content

Commit 023d37b

Browse files
author
Dimitri POSTOLOV
authoredSep 12, 2023
[v3] add "type": "module" to nextra package (#2287)

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

87 files changed

+477
-492
lines changed
 

‎.changeset/cuddly-plants-invite.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'nextra': major
3+
---
4+
5+
add `"type": "module"` to `nextra` package

‎.eslintrc.cjs

+4
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,10 @@ module.exports = {
167167
callees: ['cn'],
168168
whitelist: ['nextra-code-block', 'nextra-filetree']
169169
}
170+
},
171+
rules: {
172+
...TAILWIND_CONFIG.rules,
173+
'import/extensions': ['error', 'ignorePackages']
170174
}
171175
},
172176
// ⚙️ Docs

0 commit comments

Comments
 (0)
Please sign in to comment.