Changes config for live site

This commit is contained in:
Andy Tudhope 2018-07-23 15:45:54 +02:00
parent 5677e5d809
commit 008e181a9d
No known key found for this signature in database
GPG Key ID: 02A3DFA93BF26AD2

View File

@ -1,7 +1,7 @@
const withSass = require('@zeit/next-sass'); const withSass = require('@zeit/next-sass');
const dev = process && process.env && process.env.NODE_ENV === 'development'; const dev = process && process.env && process.env.NODE_ENV === 'development';
const subDirPath = dev ? '' : '/'; const subDirPath = dev ? '' : '';
module.exports = module.exports =
withSass({ withSass({