Last active
January 16, 2019 03:22
-
-
Save glennreyes/f30a3ea6e029b063614ac40b19833661 to your computer and use it in GitHub Desktop.
How to disable Code Splitting in webpack
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module.exports = { | |
module: { | |
rules: [ | |
{ | |
test: /\.(js|jsx)$/, | |
loader: require.resolve('babel-loader'), | |
include: ['src'], | |
options: { | |
presets: [ | |
'dynamic-import-node', | |
'remove-webpack', | |
], | |
} | |
], | |
}, | |
}, | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment