Skip to content

Instantly share code, notes, and snippets.

@kmaraz
Created September 8, 2020 00:17
Show Gist options
  • Save kmaraz/a31a7b7297e19bfe33282e5a8a411b9e to your computer and use it in GitHub Desktop.
Save kmaraz/a31a7b7297e19bfe33282e5a8a411b9e to your computer and use it in GitHub Desktop.
Babel loader
const babelLoader = {
loader: 'babel-loader',
options: {
// Don't waste time on Gzipping the cache
cacheCompression: false,
cacheDirectory: true,
presets: [['@babel/env', { modules: false }]]
},
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment