Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit f9ee69d

Browse files
authoredDec 11, 2018
Update webpack.config.js
Disable AMD and solve swagger client issues since there is no intention of supporting it: facebook#3247 (comment)
1 parent 4a6007e commit f9ee69d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎packages/react-scripts/config/webpack.config.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ module.exports = function(webpackEnv) {
299299
strictExportPresence: true,
300300
rules: [
301301
// Disable require.ensure as it's not a standard language feature.
302-
{ parser: { requireEnsure: false } },
302+
{ parser: { requireEnsure: false, amd: false } },
303303

304304
// First, run the linter.
305305
// It's important to do this before Babel processes the JS.

0 commit comments

Comments
 (0)
Please sign in to comment.