Skip to content

Instantly share code, notes, and snippets.

@nnaku
Created April 4, 2019 19:01
Show Gist options
  • Save nnaku/5347d0d71dab4ffe1869868d33d6d050 to your computer and use it in GitHub Desktop.
Save nnaku/5347d0d71dab4ffe1869868d33d6d050 to your computer and use it in GitHub Desktop.
const { override, addBabelPlugins } = require('customize-cra');
module.exports = override(
...addBabelPlugins('@babel/plugin-proposal-class-properties', [
'babel-plugin-root-import',
{
rootPathPrefix: '~',
rootPathSuffix: 'src',
},
])
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment