Created
January 27, 2019 07:51
-
-
Save jkhaui/80495d215525503d05905de389f2233a to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const withPlugins = require('next-compose-plugins'); | |
const withTM = require('next-plugin-transpile-modules'); | |
const withOptimizedImages = require('next-optimized-images'); | |
const withFonts = require('next-fonts'); | |
const withCSS = require('@zeit/next-css'); | |
module.exports = withPlugins( | |
[ | |
[ | |
withTM, | |
{ | |
transpileModules: ['reusecore'], | |
}, | |
], | |
withOptimizedImages, | |
withFonts, | |
withCSS, | |
], | |
{ | |
distDir: '../functions/next', | |
} | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment