MCPcopy
hub / github.com/wdjungst/react-project / getEntry

Function getEntry

modules/webpack.client.config.js:109–125  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

107}
108
109function getEntry() {
110 const entry = {
111 app: path.join(SHARED.APP_PATH, getDXConfig().client),
112 _vendor: [ 'react', 'react-dom', 'react-router', 'react-project' ]
113 }
114 if (!PROD) {
115 if (HOT) {
116 entry._vendor.unshift('webpack/hot/dev-server')
117 }
118 if (HOT || REFRESH) {
119 entry._vendor.unshift(
120 `webpack-dev-server/client?http://${DEV_HOST}:${DEV_PORT}`
121 )
122 }
123 }
124 return entry
125}
126
127function getPlugins() {
128

Callers 1

Calls 1

getDXConfigFunction · 0.90

Tested by

no test coverage detected