tangled
alpha
login
or
join now
kitten.sh
/
reghex
0
fork
atom
Mirror: The magical sticky regex-based parser generator 🧙
0
fork
atom
overview
issues
pulls
pipelines
Fix default exports for Babel plugin
kitten.sh
5 years ago
a4328f60
ca927f19
+5
-3
3 changed files
expand all
collapse all
unified
split
babel.js
package.json
rollup.config.js
+1
-1
babel.js
···
1
1
-
module.exports = require('./dist/reghex-babel.js').default;
1
1
+
module.exports = require('./dist/reghex-babel.js');
-2
package.json
···
22
22
"require": "./dist/reghex-core.js"
23
23
},
24
24
"./babel": {
25
25
-
"import": "./dist/reghex-babel.mjs",
26
25
"require": "./dist/reghex-babel.js"
27
26
},
28
27
"./macro": {
29
29
-
"import": "./dist/reghex-macro.mjs",
30
28
"require": "./dist/reghex-macro.js"
31
29
},
32
30
"./package.json": "./package.json"
+4
rollup.config.js
···
66
66
},
67
67
{
68
68
...base,
69
69
+
output: {
70
70
+
...output('cjs', '.js'),
71
71
+
exports: 'default',
72
72
+
},
69
73
input: {
70
74
babel: './src/babel/plugin.js',
71
75
macro: './src/babel/macro.js',