Skip to content

Commit

Permalink
fix: fix bundle config error.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaywcjlove committed Oct 19, 2023
1 parent a100019 commit e0bd6bc
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions core/.kktrc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,12 @@ export default (conf: WebpackConfiguration, env: 'development' | 'production', o
commonjs: 'react',
amd: 'react',
},
'react-dom': {
root: 'ReactDOM',
commonjs2: 'react-dom',
commonjs: 'react-dom',
amd: 'react-dom',
},
};
}
return conf;
Expand Down

0 comments on commit e0bd6bc

Please sign in to comment.