mirror of
https://github.com/jxnblk/mdx-deck.git
synced 2024-09-17 09:57:23 +03:00
Merge pull request #402 from jxnblk/fix-themes-compilation
Add compile es6 plugin to gatsby theme
This commit is contained in:
commit
237b5fce41
@ -24,6 +24,12 @@ const config = (opts = {}) => {
|
||||
'gatsby-plugin-emotion',
|
||||
'gatsby-plugin-catch-links',
|
||||
'gatsby-plugin-theme-ui',
|
||||
{
|
||||
resolve: 'gatsby-plugin-compile-es6-packages',
|
||||
options: {
|
||||
modules: ['@mdx-deck/themes'],
|
||||
},
|
||||
},
|
||||
].filter(Boolean),
|
||||
}
|
||||
}
|
||||
|
@ -27,6 +27,7 @@
|
||||
"debug": "^4.1.1",
|
||||
"gatsby": "^2.13.24",
|
||||
"gatsby-plugin-catch-links": "^2.1.0",
|
||||
"gatsby-plugin-compile-es6-packages": "^2.0.0",
|
||||
"gatsby-plugin-emotion": "^4.1.0",
|
||||
"gatsby-plugin-mdx": "^1.0.13",
|
||||
"gatsby-plugin-react-helmet": "^3.1.0",
|
||||
|
Loading…
Reference in New Issue
Block a user