Skip to content

Commit 9315b9c

Browse files
committed
Export CJS files too
1 parent 0a5b43c commit 9315b9c

File tree

5 files changed

+715
-2
lines changed

5 files changed

+715
-2
lines changed

.eslintrc.json

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"extends": ["bloq", "prettier"],
3+
"ignorePatterns": ["src-cjs"],
34
"overrides": [
45
{
56
"extends": ["bloq/markdown"],

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
.eslintcache
22
.vscode
33
node_modules
4+
src-cjs

babel.config.json

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"plugins": [
3+
"@babel/plugin-transform-modules-commonjs",
4+
"babel-plugin-add-module-exports"
5+
]
6+
}

0 commit comments

Comments
 (0)