Skip to content

Commit

Permalink
Enable displayName in the example
Browse files Browse the repository at this point in the history
  • Loading branch information
Igorbek committed Nov 22, 2018
1 parent 4693bc4 commit dca051a
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions example/webpack/transformer.js
@@ -1,11 +1,7 @@

const createStyledComponentsTransformer = require('../../dist').default;

const styledComponentsTransformer = createStyledComponentsTransformer({
// getDisplayName: (name) => name
ssr: true,
displayName: false,
});
const styledComponentsTransformer = createStyledComponentsTransformer();

module.exports = () => ({ before: [styledComponentsTransformer] });

0 comments on commit dca051a

Please sign in to comment.