Skip to content

Commit d4a67a1

Browse files
committed
change rollup format
1 parent f6aaf61 commit d4a67a1

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@imagemarker/use-text-width",
3-
"version": "0.3.1",
3+
"version": "0.3.2",
44
"description": "React hook to measure text width",
55
"repository": "github:imagemarker/use-text-width",
66
"keywords": [

rollup.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ export default {
1212
dir: 'dist',
1313
name: 'useTextWidth',
1414
sourcemap: !production,
15-
format: 'cjs',
15+
format: 'es',
1616
globals: {
1717
'react': 'React',
1818
'react-dom': 'ReactDOM',

0 commit comments

Comments
 (0)