Skip to content

Commit e12e46b

Browse files
committed
Rename client/server Globals to Registration
And remove React and ReactDom from Webpack entry points.
1 parent 5b1b869 commit e12e46b

File tree

4 files changed

+2
-4
lines changed

4 files changed

+2
-4
lines changed

client/webpack.client.base.config.js

+1-3
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,11 @@ module.exports = {
1717
vendor: [
1818
'babel-polyfill',
1919
'jquery',
20-
'react',
21-
'react-dom',
2220
],
2321

2422
// This will contain the app entry points defined by webpack.hot.config and webpack.rails.config
2523
app: [
26-
'./app/bundles/comments/startup/clientGlobals',
24+
'./app/bundles/comments/startup/clientRegistration',
2725
],
2826
},
2927
resolve: {

client/webpack.server.rails.build.config.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ module.exports = {
1212
context: __dirname,
1313
entry: [
1414
'babel-polyfill',
15-
'./app/bundles/comments/startup/serverGlobals',
15+
'./app/bundles/comments/startup/serverRegistration',
1616
],
1717
output: {
1818
filename: 'server-bundle.js',

0 commit comments

Comments
 (0)