Skip to content

Commit 04c41b2

Browse files
committed
build(rollup): export version for UMD
1 parent 39e5a2d commit 04c41b2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

rollup.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,5 +31,6 @@ export default {
3131
react: 'React',
3232
'react-dom': 'ReactDOM',
3333
},
34+
intro: `exports.version = '${pkg.version}';`,
3435
},
3536
};

0 commit comments

Comments
 (0)