Skip to content

Commit

Permalink
Enable generalizedModifiers flag by default
Browse files Browse the repository at this point in the history
  • Loading branch information
thecrypticace committed Oct 13, 2022
1 parent 45d1a1b commit 3011f46
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 16 deletions.
1 change: 1 addition & 0 deletions src/featureFlags.js
Expand Up @@ -3,6 +3,7 @@ import log from './util/log'

let defaults = {
optimizeUniversalDefaults: false,
generalizedModifiers: true,
}

let featureFlags = {
Expand Down
6 changes: 0 additions & 6 deletions tests/arbitrary-variants.test.js
Expand Up @@ -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`
Expand Down Expand Up @@ -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`
Expand Down
10 changes: 0 additions & 10 deletions tests/match-utilities.test.js
Expand Up @@ -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> `,
Expand Down Expand Up @@ -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> `,
Expand Down Expand Up @@ -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> `,
Expand Down

0 comments on commit 3011f46

Please sign in to comment.