Skip to content

Commit 61e286f

Browse files
committed
If externals build in webpack for amd #622
1 parent 6edf683 commit 61e286f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

webpack.build.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,13 +36,13 @@ const jsOutput = Object.assign({}, config, {
3636
react: {
3737
commonjs: 'react',
3838
commonjs2: 'react',
39-
amd: 'React',
39+
amd: 'react',
4040
root: 'React',
4141
},
4242
'react-dom': {
4343
commonjs: 'react-dom',
4444
commonjs2: 'react-dom',
45-
amd: 'ReactDOM',
45+
amd: 'react-dom',
4646
root: 'ReactDOM',
4747
},
4848
},

0 commit comments

Comments
 (0)