Skip to content

Dont compile or load style-admin when CDN is enable #241

@fgdaniel

Description

@fgdaniel

Describe the bug
When we want to activate the tailwind css cdn option, then styles admin.min.css is loaded in the admin area

To Reproduce
If the styles-admin.min.css file already exists in our theme

Expected behavior
When we activate the tailwindcss option, we expect that the styles-admin.min.css file will no longer be loaded in the admin area, it will only be loaded if the tailwindcss option is deactivated, obviously remember that we have to build at the end after deactivating the option.

Screenshots
screen 1
screen 2

WordPress, Plugins
WordPress version: 6.2
Pilo'Press version: 0.4.3.2
ACF Pro version: 6.1.2
ACFE version: 0.8.9.3
ACF add-ons: None

NOTE: After we delete style-admin.min.css the option work as expected, good job!

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions