Add styled-components, even if it is broken

This commit is contained in:
Dane Everitt 2019-07-27 18:53:48 -07:00
parent b69ebb0790
commit df5de4be97
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53
6 changed files with 224 additions and 5 deletions

View file

@ -71,8 +71,15 @@ module.exports = {
loader: 'babel-loader',
options: {
cacheDirectory: !isProduction,
presets: ['@babel/preset-env', '@babel/preset-react'],
plugins: ['react-hot-loader/babel', '@babel/plugin-syntax-dynamic-import'],
presets: ['@babel/env', '@babel/react'],
plugins: [
'react-hot-loader/babel',
'@babel/plugin-syntax-dynamic-import',
['styled-components', {
displayName: true,
}],
'tailwind-components',
],
},
},
{