tailwindcss 0.0.0-oxide-insiders.4b44daf → 0.0.0-oxide-insiders.6ed3ba3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -276,5 +276,19 @@ function normalizeConfig(config) {
276
276
  break;
277
277
  }
278
278
  }
279
+ // Warn if the line-clamp plugin is installed
280
+ if (config.plugins.length > 0) {
281
+ let plugin;
282
+ try {
283
+ plugin = require("@tailwindcss/line-clamp");
284
+ } catch {}
285
+ if (plugin && config.plugins.includes(plugin)) {
286
+ _log.default.warn("line-clamp-in-core", [
287
+ "As of Tailwind CSS v3.3, the `@tailwindcss/line-clamp` plugin is now included by default.",
288
+ "Remove it from the `plugins` array in your configuration to eliminate this warning."
289
+ ]);
290
+ config.plugins = config.plugins.filter((p)=>p !== plugin);
291
+ }
292
+ }
279
293
  return config;
280
294
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tailwindcss",
3
- "version": "0.0.0-oxide-insiders.4b44daf",
3
+ "version": "0.0.0-oxide-insiders.6ed3ba3",
4
4
  "description": "A utility-first CSS framework for rapidly building custom user interfaces.",
5
5
  "license": "MIT",
6
6
  "main": "lib/index.js",
@@ -70,7 +70,7 @@
70
70
  "postcss": "^8.0.9"
71
71
  },
72
72
  "dependencies": {
73
- "@tailwindcss/oxide": "0.0.0-oxide-insiders.4b44daf",
73
+ "@tailwindcss/oxide": "0.0.0-oxide-insiders.6ed3ba3",
74
74
  "arg": "^5.0.2",
75
75
  "browserslist": "^4.21.5",
76
76
  "chokidar": "^3.5.3",
@@ -297,5 +297,22 @@ export function normalizeConfig(config) {
297
297
  }
298
298
  }
299
299
 
300
+ // Warn if the line-clamp plugin is installed
301
+ if (config.plugins.length > 0) {
302
+ let plugin
303
+ try {
304
+ plugin = require('@tailwindcss/line-clamp')
305
+ } catch {}
306
+
307
+ if (plugin && config.plugins.includes(plugin)) {
308
+ log.warn('line-clamp-in-core', [
309
+ 'As of Tailwind CSS v3.3, the `@tailwindcss/line-clamp` plugin is now included by default.',
310
+ 'Remove it from the `plugins` array in your configuration to eliminate this warning.',
311
+ ])
312
+
313
+ config.plugins = config.plugins.filter((p) => p !== plugin)
314
+ }
315
+ }
316
+
300
317
  return config
301
318
  }