@modern-js/plugin-tailwindcss 2.58.2 → 2.58.3
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/dist/cjs/cli.js +2 -2
- package/dist/cjs/config.js +1 -1
- package/dist/esm/cli.js +2 -2
- package/dist/esm/config.js +1 -1
- package/dist/esm-node/cli.js +2 -2
- package/dist/esm-node/config.js +1 -1
- package/dist/types/config.d.ts +1 -1
- package/package.json +12 -12
package/dist/cjs/cli.js
CHANGED
|
@@ -34,10 +34,10 @@ __export(cli_exports, {
|
|
|
34
34
|
module.exports = __toCommonJS(cli_exports);
|
|
35
35
|
var import_path = __toESM(require("path"));
|
|
36
36
|
var import_utils = require("@modern-js/utils");
|
|
37
|
-
var import_cli = require("./design-token/cli");
|
|
38
37
|
var import_config = require("./config");
|
|
39
|
-
var
|
|
38
|
+
var import_cli = require("./design-token/cli");
|
|
40
39
|
var import_macro = require("./macro");
|
|
40
|
+
var import_utils2 = require("./utils");
|
|
41
41
|
const tailwindcssPlugin = ({ pluginName } = {
|
|
42
42
|
pluginName: "@modern-js/plugin-tailwindcss"
|
|
43
43
|
}) => ({
|
package/dist/cjs/config.js
CHANGED
|
@@ -33,9 +33,9 @@ __export(config_exports, {
|
|
|
33
33
|
});
|
|
34
34
|
module.exports = __toCommonJS(config_exports);
|
|
35
35
|
var import_path = __toESM(require("path"));
|
|
36
|
+
var import_node_bundle_require = require("@modern-js/node-bundle-require");
|
|
36
37
|
var import_utils = require("@modern-js/utils");
|
|
37
38
|
var import_lodash = require("@modern-js/utils/lodash");
|
|
38
|
-
var import_node_bundle_require = require("@modern-js/node-bundle-require");
|
|
39
39
|
function getDefaultContent(appDirectory) {
|
|
40
40
|
const defaultContent = [
|
|
41
41
|
"./src/**/*.{js,jsx,ts,tsx}"
|
package/dist/esm/cli.js
CHANGED
|
@@ -2,10 +2,10 @@ import { _ as _async_to_generator } from "@swc/helpers/_/_async_to_generator";
|
|
|
2
2
|
import { _ as _ts_generator } from "@swc/helpers/_/_ts_generator";
|
|
3
3
|
import path from "path";
|
|
4
4
|
import { fs, CONFIG_CACHE_DIR, globby, slash } from "@modern-js/utils";
|
|
5
|
-
import { designTokenPlugin } from "./design-token/cli";
|
|
6
5
|
import { getTailwindConfig, loadConfigFile } from "./config";
|
|
6
|
+
import { designTokenPlugin } from "./design-token/cli";
|
|
7
|
+
import { checkTwinMacroExist, getRandomTwConfigFileName, getTwinMacroMajorVersion, template } from "./macro";
|
|
7
8
|
import { getTailwindPath, getTailwindVersion } from "./utils";
|
|
8
|
-
import { template, checkTwinMacroExist, getTwinMacroMajorVersion, getRandomTwConfigFileName } from "./macro";
|
|
9
9
|
var tailwindcssPlugin = function() {
|
|
10
10
|
var pluginName = (arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {
|
|
11
11
|
pluginName: "@modern-js/plugin-tailwindcss"
|
package/dist/esm/config.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { _ as _async_to_generator } from "@swc/helpers/_/_async_to_generator";
|
|
2
2
|
import { _ as _ts_generator } from "@swc/helpers/_/_ts_generator";
|
|
3
3
|
import path from "path";
|
|
4
|
+
import { bundleRequire } from "@modern-js/node-bundle-require";
|
|
4
5
|
import { fs, applyOptionsChain, findExists } from "@modern-js/utils";
|
|
5
6
|
import { cloneDeep } from "@modern-js/utils/lodash";
|
|
6
|
-
import { bundleRequire } from "@modern-js/node-bundle-require";
|
|
7
7
|
function getDefaultContent(appDirectory) {
|
|
8
8
|
var defaultContent = [
|
|
9
9
|
"./src/**/*.{js,jsx,ts,tsx}"
|
package/dist/esm-node/cli.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import path from "path";
|
|
2
2
|
import { fs, CONFIG_CACHE_DIR, globby, slash } from "@modern-js/utils";
|
|
3
|
-
import { designTokenPlugin } from "./design-token/cli";
|
|
4
3
|
import { getTailwindConfig, loadConfigFile } from "./config";
|
|
4
|
+
import { designTokenPlugin } from "./design-token/cli";
|
|
5
|
+
import { checkTwinMacroExist, getRandomTwConfigFileName, getTwinMacroMajorVersion, template } from "./macro";
|
|
5
6
|
import { getTailwindPath, getTailwindVersion } from "./utils";
|
|
6
|
-
import { template, checkTwinMacroExist, getTwinMacroMajorVersion, getRandomTwConfigFileName } from "./macro";
|
|
7
7
|
const tailwindcssPlugin = ({ pluginName } = {
|
|
8
8
|
pluginName: "@modern-js/plugin-tailwindcss"
|
|
9
9
|
}) => ({
|
package/dist/esm-node/config.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import path from "path";
|
|
2
|
+
import { bundleRequire } from "@modern-js/node-bundle-require";
|
|
2
3
|
import { fs, applyOptionsChain, findExists } from "@modern-js/utils";
|
|
3
4
|
import { cloneDeep } from "@modern-js/utils/lodash";
|
|
4
|
-
import { bundleRequire } from "@modern-js/node-bundle-require";
|
|
5
5
|
function getDefaultContent(appDirectory) {
|
|
6
6
|
const defaultContent = [
|
|
7
7
|
"./src/**/*.{js,jsx,ts,tsx}"
|
package/dist/types/config.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"modern",
|
|
16
16
|
"modern.js"
|
|
17
17
|
],
|
|
18
|
-
"version": "2.58.
|
|
18
|
+
"version": "2.58.3",
|
|
19
19
|
"jsnext:source": "./src/index.ts",
|
|
20
20
|
"types": "./dist/types/index.d.ts",
|
|
21
21
|
"main": "./dist/cjs/index.js",
|
|
@@ -49,9 +49,9 @@
|
|
|
49
49
|
"dependencies": {
|
|
50
50
|
"@swc/helpers": "0.5.3",
|
|
51
51
|
"babel-plugin-macros": "3.1.0",
|
|
52
|
-
"@modern-js/
|
|
53
|
-
"@modern-js/utils": "2.58.
|
|
54
|
-
"@modern-js/
|
|
52
|
+
"@modern-js/runtime-utils": "2.58.3",
|
|
53
|
+
"@modern-js/utils": "2.58.3",
|
|
54
|
+
"@modern-js/node-bundle-require": "2.58.3"
|
|
55
55
|
},
|
|
56
56
|
"devDependencies": {
|
|
57
57
|
"@types/jest": "^29",
|
|
@@ -61,17 +61,17 @@
|
|
|
61
61
|
"react": "^18",
|
|
62
62
|
"tailwindcss": "^3.3.3",
|
|
63
63
|
"typescript": "^5",
|
|
64
|
-
"@modern-js/app-tools": "2.58.
|
|
65
|
-
"@modern-js/
|
|
66
|
-
"@modern-js/
|
|
67
|
-
"@modern-js/
|
|
68
|
-
"@modern-js/
|
|
69
|
-
"@scripts/build": "2.58.
|
|
70
|
-
"@scripts/jest-config": "2.58.
|
|
64
|
+
"@modern-js/app-tools": "2.58.3",
|
|
65
|
+
"@modern-js/core": "2.58.3",
|
|
66
|
+
"@modern-js/types": "2.58.3",
|
|
67
|
+
"@modern-js/runtime": "2.58.3",
|
|
68
|
+
"@modern-js/module-tools": "2.58.3",
|
|
69
|
+
"@scripts/build": "2.58.3",
|
|
70
|
+
"@scripts/jest-config": "2.58.3"
|
|
71
71
|
},
|
|
72
72
|
"peerDependencies": {
|
|
73
73
|
"tailwindcss": ">= 2.0.0 || >= 3.0.0",
|
|
74
|
-
"@modern-js/runtime": "^2.58.
|
|
74
|
+
"@modern-js/runtime": "^2.58.3"
|
|
75
75
|
},
|
|
76
76
|
"peerDependenciesMeta": {
|
|
77
77
|
"@modern-js/runtime": {
|