Add styled-components, even if it is broken
This commit is contained in:
parent
b69ebb0790
commit
df5de4be97
6 changed files with 224 additions and 5 deletions
|
@ -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',
|
||||
],
|
||||
},
|
||||
},
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue