You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: config/webpack.config.dev.js
+2-3Lines changed: 2 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -181,19 +181,18 @@ module.exports = {
181
181
// a plugin that prints an error when you attempt to do this.
182
182
// See https://github.com/facebookincubator/create-react-app/issues/240
183
183
newCaseSensitivePathsPlugin(),
184
-
<<<<<<<HEAD
184
+
// Warn on using .jsx files, prefer using .js only.
185
+
// See https://github.com/facebookincubator/create-react-app/issues/290
185
186
newCheckFilenamePlugin({
186
187
regex: /\.jsx$/,
187
188
error: function(filename){
188
189
return'Module load aborted: .jsx extensions are not allowed, use .js extensions only. See create-react-app/issues/290 for more info.\n\tFor: '+filename;
189
190
}
190
191
}),
191
-
=======
192
192
// If you require a missing module and then `npm install` it, you still have
193
193
// to restart the development server for Webpack to discover it. This plugin
194
194
// makes the discovery automatic so you don't have to restart.
195
195
// See https://github.com/facebookincubator/create-react-app/issues/186
0 commit comments