Add build and static exports
This commit is contained in:
@@ -2,6 +2,15 @@ const withSass = require('@zeit/next-sass');
|
||||
const withCSS = require('@zeit/next-css');
|
||||
|
||||
module.exports = withCSS(withSass({
|
||||
exportPathMap: () => {
|
||||
return {
|
||||
'/': { page: '/' },
|
||||
'/about': { page: '/about' },
|
||||
'/privacy': { page: '/privacy' },
|
||||
'/terms': { page: '/terms' },
|
||||
};
|
||||
},
|
||||
|
||||
webpack(config, options) {
|
||||
config.module.rules.push({
|
||||
test: /\.(png|jpg|gif|svg|eot|ttf|woff|woff2)$/,
|
||||
|
Reference in New Issue
Block a user