1
1
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:
Brent Jackson 2019-07-18 11:06:59 -04:00 committed by GitHub
commit 237b5fce41
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 0 deletions

View File

@ -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),
}
}

View File

@ -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",