Skip to content
This repository was archived by the owner on Apr 11, 2019. It is now read-only.

Commit 859c864

Browse files
committed
Feat: add externals to webpack config
1 parent 3413a0a commit 859c864

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

config/webpack/webpack.test.config.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,11 @@ module.exports = {
1313
pages: path.resolve(ROOT_PATH, 'app/src/pages'),
1414
},
1515
},
16+
externals: {
17+
'react/addons': true,
18+
'react/lib/ExecutionEnvironment': true,
19+
'react/lib/ReactContext': true
20+
},
1621
module: {
1722
loaders: [
1823
{

0 commit comments

Comments
 (0)