Enable relative content paths for the oxide engine (#10621)
* enable `relativeContentPathsByDefault` for the `oxide` engine * update tests to reflect `relative` change in the `oxide` engine * update changelog
This commit is contained in:
parent
c8bf2d49b6
commit
962eb52ec6
4 changed files with 41 additions and 16 deletions
|
|
@ -8,6 +8,9 @@ let defaults = {
|
|||
get disableColorOpacityUtilitiesByDefault() {
|
||||
return env.OXIDE
|
||||
},
|
||||
get relativeContentPathsByDefault() {
|
||||
return env.OXIDE
|
||||
},
|
||||
}
|
||||
|
||||
let featureFlags = {
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
import { flagEnabled } from '../featureFlags'
|
||||
import log, { dim } from './log'
|
||||
|
||||
export function normalizeConfig(config) {
|
||||
|
|
@ -189,7 +190,7 @@ export function normalizeConfig(config) {
|
|||
return content.relative
|
||||
}
|
||||
|
||||
return config.future?.relativeContentPathsByDefault ?? false
|
||||
return flagEnabled(config, 'relativeContentPathsByDefault')
|
||||
})(),
|
||||
|
||||
files: (() => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue