mirror of
https://github.com/primer/css.git
synced 2024-11-10 16:07:25 +03:00
docs: sync({watch: !NODE_ENV})
This commit is contained in:
parent
696bc5d836
commit
6d052cbc61
@ -1,6 +1,6 @@
|
||||
/* eslint-disable no-console */
|
||||
const sync = require('./sync')
|
||||
const {CI, NODE_ENV, NOW_URL} = process.env
|
||||
const {NODE_ENV, NOW_URL} = process.env
|
||||
|
||||
module.exports = (nextConfig = {}) => {
|
||||
const {assetPrefix = NOW_URL || ''} = nextConfig
|
||||
@ -27,7 +27,7 @@ module.exports = (nextConfig = {}) => {
|
||||
|
||||
// only attempt to sync locally and in CI
|
||||
if (dev && !configured) {
|
||||
sync({watch: !CI})
|
||||
sync({watch: !NODE_ENV})
|
||||
}
|
||||
|
||||
config.module.rules.push({
|
||||
|
Loading…
Reference in New Issue
Block a user