Skip to content

Commit

Permalink
fix(gatsby-plugin-styled-components): Support topLevelImportPaths o…
Browse files Browse the repository at this point in the history
…ption (#29544)
  • Loading branch information
gregberge authored Feb 17, 2021
1 parent 31a23d8 commit a6be92e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/gatsby-plugin-styled-components/src/gatsby-node.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ exports.pluginOptionsSchema = ({ Joi }) =>
transpileTemplateLiterals: Joi.boolean()
.default(true)
.description(`Transpile tagged template literals into optimized code.`),
topLevelImportPaths: Joi.array()
.default([])
.items(Joi.string())
.description(`Top level import paths allowed to identify library`),
pure: Joi.boolean()
.default(false)
.description(
Expand Down

0 comments on commit a6be92e

Please sign in to comment.