Skip to content

Commit c402586

Browse files
committed
fix: externalize react to print
1 parent d378f30 commit c402586

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

vite.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ export default defineConfig({
3535
'prop-types',
3636
/^react.*/,
3737
/^redux.*/,
38+
'react-to-print',
3839
],
3940
output: {
4041
globals: {

0 commit comments

Comments
 (0)