babel-plugin-styled-components icon indicating copy to clipboard operation
babel-plugin-styled-components copied to clipboard

namespace option doesn't work with babel-plugin-macros

Open emdotem opened this issue 3 years ago • 1 comments

I'm trying to setup a namespace for my styled-components application (create-react-app) with Babel Macro.

I created a file:

// babel-plugin-macros.config.js

module.exports = {
  styledComponents: {
    fileName: true,
    displayName: true,
    namespace: "my-namespace"
  }
}

Everything but "namespace" works.

What could be the reason?

emdotem avatar Mar 10 '21 17:03 emdotem

Same for me, anthing on that?

FBurner avatar Sep 07 '21 20:09 FBurner