tailwindcss 0.0.0-oxide-insiders.abe5163 → 0.0.0-oxide-insiders.7f81849
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.
|
@@ -13,7 +13,6 @@ const _generateRules = require("./generateRules");
|
|
|
13
13
|
const _log = /*#__PURE__*/ _interopRequireDefault(require("../util/log"));
|
|
14
14
|
const _cloneNodes = /*#__PURE__*/ _interopRequireDefault(require("../util/cloneNodes"));
|
|
15
15
|
const _defaultExtractor = require("./defaultExtractor");
|
|
16
|
-
const _oxide = /*#__PURE__*/ _interopRequireDefault(require("@tailwindcss/oxide"));
|
|
17
16
|
function _interopRequireDefault(obj) {
|
|
18
17
|
return obj && obj.__esModule ? obj : {
|
|
19
18
|
default: obj
|
|
@@ -155,7 +154,7 @@ function expandTailwindAtRules(context) {
|
|
|
155
154
|
env.DEBUG && console.time("Reading changed files");
|
|
156
155
|
if (env.OXIDE) {
|
|
157
156
|
// TODO: Pass through or implement `extractor`
|
|
158
|
-
for (let candidate of
|
|
157
|
+
for (let candidate of require("@tailwindcss/oxide").parseCandidateStringsFromFiles(context.changedContent)){
|
|
159
158
|
candidates.add(candidate);
|
|
160
159
|
}
|
|
161
160
|
// for (let { file, content, extension } of context.changedContent) {
|
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.7f81849",
|
|
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.
|
|
73
|
+
"@tailwindcss/oxide": "0.0.0-oxide-insiders.7f81849",
|
|
74
74
|
"arg": "^5.0.2",
|
|
75
75
|
"browserslist": "^4.21.5",
|
|
76
76
|
"chokidar": "^3.5.3",
|
|
@@ -6,8 +6,6 @@ import log from '../util/log'
|
|
|
6
6
|
import cloneNodes from '../util/cloneNodes'
|
|
7
7
|
import { defaultExtractor } from './defaultExtractor'
|
|
8
8
|
|
|
9
|
-
import oxide from '@tailwindcss/oxide'
|
|
10
|
-
|
|
11
9
|
let env = sharedState.env
|
|
12
10
|
|
|
13
11
|
const builtInExtractors = {
|
|
@@ -134,7 +132,7 @@ export default function expandTailwindAtRules(context) {
|
|
|
134
132
|
|
|
135
133
|
if (env.OXIDE) {
|
|
136
134
|
// TODO: Pass through or implement `extractor`
|
|
137
|
-
for (let candidate of oxide.parseCandidateStringsFromFiles(
|
|
135
|
+
for (let candidate of require('@tailwindcss/oxide').parseCandidateStringsFromFiles(
|
|
138
136
|
context.changedContent
|
|
139
137
|
// Object.assign({}, builtInTransformers, context.tailwindConfig.content.transform)
|
|
140
138
|
)) {
|