tailwindcss 0.0.0-oxide-insiders.764f6a1 → 0.0.0-oxide-insiders.0e171fd
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/cli/init/index.js
CHANGED
|
@@ -39,7 +39,7 @@ function init(args) {
|
|
|
39
39
|
let stubFile = _fs.default.readFileSync(_path.default.resolve(__dirname, `../../../stubs/tailwind.config.${syntax}`), "utf8");
|
|
40
40
|
// Drop `content` in the oxide engine to promote auto content
|
|
41
41
|
if (true) {
|
|
42
|
-
stubContentsFile = stubContentsFile.replace(
|
|
42
|
+
stubContentsFile = stubContentsFile.replace(/ *content: \[\],\n/, "");
|
|
43
43
|
}
|
|
44
44
|
// Change colors import
|
|
45
45
|
stubContentsFile = stubContentsFile.replace("../colors", "tailwindcss/colors");
|
|
@@ -38,7 +38,7 @@ function init(args) {
|
|
|
38
38
|
let stubFile = _fs.default.readFileSync(_path.default.resolve(__dirname, `../../../../stubs/tailwind.config.${syntax}`), "utf8");
|
|
39
39
|
// Drop `content` in the oxide engine to promote auto content
|
|
40
40
|
if (true) {
|
|
41
|
-
stubContentsFile = stubContentsFile.replace(
|
|
41
|
+
stubContentsFile = stubContentsFile.replace(/ *content: \[\],\n/, "");
|
|
42
42
|
}
|
|
43
43
|
// Change colors import
|
|
44
44
|
stubContentsFile = stubContentsFile.replace("../colors", "tailwindcss/colors");
|
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.0e171fd",
|
|
4
4
|
"description": "A utility-first CSS framework for rapidly building custom user interfaces.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "lib/index.js",
|
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
},
|
|
69
69
|
"dependencies": {
|
|
70
70
|
"@alloc/quick-lru": "^5.2.0",
|
|
71
|
-
"@tailwindcss/oxide": "0.0.0-oxide-insiders.
|
|
71
|
+
"@tailwindcss/oxide": "0.0.0-oxide-insiders.0e171fd",
|
|
72
72
|
"arg": "^5.0.2",
|
|
73
73
|
"browserslist": "^4.21.5",
|
|
74
74
|
"chokidar": "^3.5.3",
|
package/src/cli/init/index.js
CHANGED
|
@@ -40,7 +40,7 @@ export function init(args) {
|
|
|
40
40
|
|
|
41
41
|
// Drop `content` in the oxide engine to promote auto content
|
|
42
42
|
if (__OXIDE__) {
|
|
43
|
-
stubContentsFile = stubContentsFile.replace(
|
|
43
|
+
stubContentsFile = stubContentsFile.replace(/ *content: \[\],\n/, '')
|
|
44
44
|
}
|
|
45
45
|
|
|
46
46
|
// Change colors import
|
|
@@ -38,7 +38,7 @@ export function init(args) {
|
|
|
38
38
|
|
|
39
39
|
// Drop `content` in the oxide engine to promote auto content
|
|
40
40
|
if (__OXIDE__) {
|
|
41
|
-
stubContentsFile = stubContentsFile.replace(
|
|
41
|
+
stubContentsFile = stubContentsFile.replace(/ *content: \[\],\n/, '')
|
|
42
42
|
}
|
|
43
43
|
|
|
44
44
|
// Change colors import
|