mirror of
https://github.com/tailwindlabs/tailwindcss.git
synced 2025-12-08 21:36:08 +00:00
Enable generalizedModifiers flag by default
This commit is contained in:
parent
45d1a1b593
commit
3011f46cd8
@ -3,6 +3,7 @@ import log from './util/log'
|
||||
|
||||
let defaults = {
|
||||
optimizeUniversalDefaults: false,
|
||||
generalizedModifiers: true,
|
||||
}
|
||||
|
||||
let featureFlags = {
|
||||
|
||||
@ -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`
|
||||
|
||||
@ -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> `,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user