diff --git a/.babelrc b/.babelrc index 17afdaff..03ab357b 100644 --- a/.babelrc +++ b/.babelrc @@ -20,7 +20,7 @@ "regenerator": true }], "@babel/plugin-syntax-dynamic-import", - // "styled-components", + // "babel-plugin-styled-components", "lodash" ] } diff --git a/webpack/rules.js b/webpack/rules.js index 192999d0..9b20b590 100644 --- a/webpack/rules.js +++ b/webpack/rules.js @@ -2,13 +2,10 @@ // const styledComponentsTransformer = createStyledComponentsTransformer() -const { createLodashTransformer } = require('typescript-plugin-lodash') - const tsOptions = env => env === 'dev' ? { // getCustomTransformers: () => ({ before: [styledComponentsTransformer] }), useCache: true, } : { - getCustomTransformers: () => ({ before: [createLodashTransformer()] }), ignoreDiagnostics: [], }