tailwindcss/integrations
Robin Malfait 72bc31867b
Replace __OXIDE__ at build time to prevent @tailwindcss/oxide leaks in the stable engine (#10988)
* replace `env.OXIDE` with global `__OXIDE__`

This will allow us to replace the `__OXIDE__` at build time, and fully
remove the branches from the final code so that there is not even any
reference to `@tailwindcss/oxide` on the stable engine.

* update changelog

* use `env.ENGINE` in integration tests

* drop oxide branching for the PostCSS plugin for now

This is currently a redirect to the same file, so doesn't hurt.

* Enable better dead-code elimination

* Update CLI tests

Fix indentation

* Fix indentation

---------

Co-authored-by: Jordan Pittman <jordan@cryptica.me>
2023-04-18 12:19:20 +02:00
..
content-resolution transform files using @swc/jest (#10815) 2023-03-17 16:22:16 +01:00
parcel Replace __OXIDE__ at build time to prevent @tailwindcss/oxide leaks in the stable engine (#10988) 2023-04-18 12:19:20 +02:00
postcss-cli Replace __OXIDE__ at build time to prevent @tailwindcss/oxide leaks in the stable engine (#10988) 2023-04-18 12:19:20 +02:00
rollup Replace __OXIDE__ at build time to prevent @tailwindcss/oxide leaks in the stable engine (#10988) 2023-04-18 12:19:20 +02:00
rollup-sass Replace __OXIDE__ at build time to prevent @tailwindcss/oxide leaks in the stable engine (#10988) 2023-04-18 12:19:20 +02:00
tailwindcss-cli Replace __OXIDE__ at build time to prevent @tailwindcss/oxide leaks in the stable engine (#10988) 2023-04-18 12:19:20 +02:00
vite Replace __OXIDE__ at build time to prevent @tailwindcss/oxide leaks in the stable engine (#10988) 2023-04-18 12:19:20 +02:00
webpack-4 Replace __OXIDE__ at build time to prevent @tailwindcss/oxide leaks in the stable engine (#10988) 2023-04-18 12:19:20 +02:00
webpack-5 Replace __OXIDE__ at build time to prevent @tailwindcss/oxide leaks in the stable engine (#10988) 2023-04-18 12:19:20 +02:00
.gitignore Integrations setup (#4354) 2021-05-18 11:21:35 -04:00
execute.js Try resolving config.default before config to ensure the config file is resolved correctly (#10898) 2023-03-29 16:52:22 +02:00
io.js Enable ESM and TS based config files (#10785) 2023-03-15 17:04:18 -04:00
package.json Setup integration tests (#5466) 2021-09-14 16:18:14 +02:00
resolve-tool-root.js Integrations setup (#4354) 2021-05-18 11:21:35 -04:00
syntax.js Improve css expectations in tests (#5819) 2021-10-18 12:08:48 +02:00