Skip to content

Commit 27c2c6d

Browse files
committed
https://github.com/table-library/react-table-library/issues/9
1 parent ea51efc commit 27c2c6d

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed
File renamed without changes.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@table-library/react-table-library",
3-
"version": "2.0.4",
3+
"version": "2.0.8",
44
"description": "react-table-library",
55
"type": "module",
66
"main": "main.js",

rollup.config.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,11 @@ import postcss from 'rollup-plugin-postcss';
99

1010
import pkg from './package.json';
1111

12-
const babelConfig = require('./babel.config.js');
12+
// https://stackoverflow.com/a/65978156/1189762
13+
// see package.json "type": "module"
14+
// https://stackoverflow.com/a/63216984/1189762
15+
// see babel.config.cjs instead of .js
16+
const babelConfig = require('./babel.config.cjs');
1317

1418
const extensions = ['.js', '.jsx', '.ts', '.tsx'];
1519

0 commit comments

Comments
 (0)