checkout/config/ts-transformers.js
2019-01-29 19:54:37 +03:00

7 lines
327 B
JavaScript

const createStyledComponentsTransformer = require('typescript-plugin-styled-components').default;
const styledComponentsTransformer = createStyledComponentsTransformer({ ssr: false, displayName: true });
const getCustomTransformers = () => ({ before: [styledComponentsTransformer] });
module.exports = getCustomTransformers;