tailwindcss 0.0.0-oxide-insiders.c8bf2d4 → 0.0.0-oxide-insiders.d6121f0
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.
package/lib/featureFlags.js
CHANGED
|
@@ -6,6 +6,7 @@ Object.defineProperty(exports, "normalizeConfig", {
|
|
|
6
6
|
enumerable: true,
|
|
7
7
|
get: ()=>normalizeConfig
|
|
8
8
|
});
|
|
9
|
+
const _featureFlags = require("../featureFlags");
|
|
9
10
|
const _log = /*#__PURE__*/ _interopRequireWildcard(require("./log"));
|
|
10
11
|
function _getRequireWildcardCache(nodeInterop) {
|
|
11
12
|
if (typeof WeakMap !== "function") return null;
|
|
@@ -191,13 +192,11 @@ function normalizeConfig(config) {
|
|
|
191
192
|
// Normalize the `content`
|
|
192
193
|
config.content = {
|
|
193
194
|
relative: (()=>{
|
|
194
|
-
var _config_future;
|
|
195
195
|
let { content } = config;
|
|
196
196
|
if (content === null || content === void 0 ? void 0 : content.relative) {
|
|
197
197
|
return content.relative;
|
|
198
198
|
}
|
|
199
|
-
|
|
200
|
-
return (_config_future_relativeContentPathsByDefault = (_config_future = config.future) === null || _config_future === void 0 ? void 0 : _config_future.relativeContentPathsByDefault) !== null && _config_future_relativeContentPathsByDefault !== void 0 ? _config_future_relativeContentPathsByDefault : false;
|
|
199
|
+
return (0, _featureFlags.flagEnabled)(config, "relativeContentPathsByDefault");
|
|
201
200
|
})(),
|
|
202
201
|
files: (()=>{
|
|
203
202
|
let { content , purge } = config;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "tailwindcss",
|
|
3
|
-
"version": "0.0.0-oxide-insiders.
|
|
3
|
+
"version": "0.0.0-oxide-insiders.d6121f0",
|
|
4
4
|
"description": "A utility-first CSS framework for rapidly building custom user interfaces.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "lib/index.js",
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
"concurrently": "^7.5.0",
|
|
57
57
|
"cssnano": "^5.1.14",
|
|
58
58
|
"esbuild": "^0.17.4",
|
|
59
|
-
"eslint": "^8.
|
|
59
|
+
"eslint": "^8.34.0",
|
|
60
60
|
"eslint-config-prettier": "^8.6.0",
|
|
61
61
|
"eslint-plugin-prettier": "^4.2.1",
|
|
62
62
|
"jest": "^29.4.1",
|
|
@@ -70,7 +70,7 @@
|
|
|
70
70
|
"postcss": "^8.0.9"
|
|
71
71
|
},
|
|
72
72
|
"dependencies": {
|
|
73
|
-
"@tailwindcss/oxide": "0.0.0-oxide-insiders.
|
|
73
|
+
"@tailwindcss/oxide": "0.0.0-oxide-insiders.d6121f0",
|
|
74
74
|
"arg": "^5.0.2",
|
|
75
75
|
"browserslist": "^4.21.5",
|
|
76
76
|
"chokidar": "^3.5.3",
|
package/src/featureFlags.js
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { flagEnabled } from '../featureFlags'
|
|
1
2
|
import log, { dim } from './log'
|
|
2
3
|
|
|
3
4
|
export function normalizeConfig(config) {
|
|
@@ -189,7 +190,7 @@ export function normalizeConfig(config) {
|
|
|
189
190
|
return content.relative
|
|
190
191
|
}
|
|
191
192
|
|
|
192
|
-
return config
|
|
193
|
+
return flagEnabled(config, 'relativeContentPathsByDefault')
|
|
193
194
|
})(),
|
|
194
195
|
|
|
195
196
|
files: (() => {
|