-
Notifications
You must be signed in to change notification settings - Fork 32
Closed
Description
Do I need to use the same transformer reference if I am using ttsc to build the server-side and webpack to use the client side?
This is my tsconfig that is being run using ttsc.
"plugins": [
{
"transform": "typescript-plugin-styled-components",
"type": "config",
"minify": true,
"ssr": true
}
]
My webpack configuration is using:
use: [{
loader: 'awesome-typescript-loader',
options: {
getCustomTransformers: () => ({ before: [styledComponentsTransformer] })
}
}]
However, I am still getting Prop className did not match with a different class name on the server vs the client. Am I missing something?
khawkinson