Skip to content

Commit 00f2194

Browse files
Francesca-Bitrrooij
authored andcommitted
review webpack
1 parent cb05247 commit 00f2194

File tree

2 files changed

+23
-24
lines changed

2 files changed

+23
-24
lines changed

packages/tdb-documents-ui/webpack.config.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ module.exports = {
6868
}
6969
]
7070
}
71-
],
71+
]},
7272
externals: {
7373
react: {
7474
root: 'React',
@@ -90,5 +90,4 @@ module.exports = {
9090
}
9191
},
9292
target: 'node'
93-
}
9493
}

packages/tdb-react-components/webpack.config.js

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -69,27 +69,27 @@ module.exports = {
6969
}
7070
]
7171
}
72-
],
73-
externals: {
74-
react: {
75-
root: 'React',
76-
commonjs2: 'react',
77-
commonjs: 'react',
78-
amd: 'react',
79-
},
80-
'react-dom': {
81-
root: 'ReactDOM',
82-
commonjs2: 'react-dom',
83-
commonjs: 'react-dom',
84-
amd: 'react-dom'
85-
},
86-
'prop-types': {
87-
root: 'PropTypes',
88-
commonjs2: 'prop-types',
89-
commonjs: 'prop-types',
90-
amd: 'prop-types',
91-
}
72+
]
73+
},
74+
externals: {
75+
react: {
76+
root: 'React',
77+
commonjs2: 'react',
78+
commonjs: 'react',
79+
amd: 'react',
80+
},
81+
'react-dom': {
82+
root: 'ReactDOM',
83+
commonjs2: 'react-dom',
84+
commonjs: 'react-dom',
85+
amd: 'react-dom'
9286
},
93-
target: 'node'
94-
}
87+
'prop-types': {
88+
root: 'PropTypes',
89+
commonjs2: 'prop-types',
90+
commonjs: 'prop-types',
91+
amd: 'prop-types',
92+
}
93+
},
94+
target: 'node'
9595
};

0 commit comments

Comments
 (0)