Enable generalizedModifiers flag by default

This commit is contained in:
Jordan Pittman 2022-10-13 14:13:02 -04:00
parent 45d1a1b593
commit 3011f46cd8
3 changed files with 1 additions and 16 deletions

View File

@ -3,6 +3,7 @@ import log from './util/log'
let defaults = {
optimizeUniversalDefaults: false,
generalizedModifiers: true,
}
let featureFlags = {

View File

@ -709,9 +709,6 @@ it('should support supports', () => {
it('should be possible to use modifiers and arbitrary groups', () => {
let config = {
experimental: {
generalizedModifiers: true,
},
content: [
{
raw: html`
@ -813,9 +810,6 @@ it('should be possible to use modifiers and arbitrary groups', () => {
it('should be possible to use modifiers and arbitrary peers', () => {
let config = {
experimental: {
generalizedModifiers: true,
},
content: [
{
raw: html`

View File

@ -2,10 +2,6 @@ import { run, html, css } from './util/run'
test('match utilities with modifiers', async () => {
let config = {
experimental: {
generalizedModifiers: true,
},
content: [
{
raw: html`<div class="test test/foo test-1/foo test-2/foo test/[foo] test-1/[foo]"></div> `,
@ -66,9 +62,6 @@ test('match utilities with modifiers', async () => {
test('match utilities with modifiers in the config', async () => {
let config = {
experimental: {
generalizedModifiers: true,
},
content: [
{
raw: html`<div class="test test/foo test-1/foo test/[bar] test-1/[bar]"></div> `,
@ -126,9 +119,6 @@ test('match utilities with modifiers in the config', async () => {
test('match utilities can omit utilities by returning null', async () => {
let config = {
experimental: {
generalizedModifiers: true,
},
content: [
{
raw: html`<div class="test test/good test/bad"></div> `,