@modern-js/plugin-tailwindcss 0.0.0-next-20221222182625 → 0.0.0-next-20221223140548
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/CHANGELOG.md +11 -3
- package/dist/js/modern/cli.js +1 -1
- package/dist/js/node/cli.js +1 -1
- package/dist/js/treeshaking/cli.js +1 -2
- package/package.json +10 -10
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @modern-js/plugin-tailwindcss
|
|
2
2
|
|
|
3
|
-
## 0.0.0-next-
|
|
3
|
+
## 0.0.0-next-20221223140548
|
|
4
4
|
|
|
5
5
|
### Major Changes
|
|
6
6
|
|
|
@@ -46,6 +46,14 @@
|
|
|
46
46
|
|
|
47
47
|
fix: 将 babel-plugin-marcos 依赖移动到 plugin-tailwindcss 中
|
|
48
48
|
|
|
49
|
+
- f0f5c1849: fix:
|
|
50
|
+
|
|
51
|
+
1. modify hooks logic
|
|
52
|
+
2. change default build preset
|
|
53
|
+
fix:
|
|
54
|
+
3. 修改 hooks 逻辑
|
|
55
|
+
4. 更改默认的 buildPreset
|
|
56
|
+
|
|
49
57
|
- Updated dependencies [2344eb26e]
|
|
50
58
|
- Updated dependencies [a11fcf8b5]
|
|
51
59
|
- Updated dependencies [a93159440]
|
|
@@ -97,8 +105,8 @@
|
|
|
97
105
|
- Updated dependencies [abf3421a7]
|
|
98
106
|
- Updated dependencies [543be9558]
|
|
99
107
|
- Updated dependencies [14b712da8]
|
|
100
|
-
- @modern-js/runtime@0.0.0-next-
|
|
101
|
-
- @modern-js/utils@0.0.0-next-
|
|
108
|
+
- @modern-js/runtime@0.0.0-next-20221223140548
|
|
109
|
+
- @modern-js/utils@0.0.0-next-20221223140548
|
|
102
110
|
|
|
103
111
|
## 2.0.0-beta.6
|
|
104
112
|
|
package/dist/js/modern/cli.js
CHANGED
|
@@ -132,7 +132,7 @@ var cli_default = ({ pluginName } = {
|
|
|
132
132
|
}
|
|
133
133
|
};
|
|
134
134
|
},
|
|
135
|
-
beforeBuildTask(
|
|
135
|
+
beforeBuildTask(config) {
|
|
136
136
|
const modernConfig = api.useResolvedConfigContext();
|
|
137
137
|
const { designSystem } = modernConfig;
|
|
138
138
|
const tailwindConfig = getTailwindConfig(
|
package/dist/js/node/cli.js
CHANGED
|
@@ -154,7 +154,7 @@ var cli_default = ({ pluginName } = {
|
|
|
154
154
|
}
|
|
155
155
|
};
|
|
156
156
|
},
|
|
157
|
-
beforeBuildTask(
|
|
157
|
+
beforeBuildTask(config) {
|
|
158
158
|
const modernConfig = api.useResolvedConfigContext();
|
|
159
159
|
const { designSystem } = modernConfig;
|
|
160
160
|
const tailwindConfig = (0, import_tailwind.getTailwindConfig)(
|
|
@@ -227,8 +227,7 @@ var cli_default = function() {
|
|
|
227
227
|
}
|
|
228
228
|
};
|
|
229
229
|
},
|
|
230
|
-
beforeBuildTask: function beforeBuildTask(
|
|
231
|
-
var config = param.config;
|
|
230
|
+
beforeBuildTask: function beforeBuildTask(config) {
|
|
232
231
|
var modernConfig = api.useResolvedConfigContext();
|
|
233
232
|
var designSystem = modernConfig.designSystem;
|
|
234
233
|
var tailwindConfig = getTailwindConfig(config.style.tailwindCss, designSystem, {
|
package/package.json
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"modern",
|
|
12
12
|
"modern.js"
|
|
13
13
|
],
|
|
14
|
-
"version": "0.0.0-next-
|
|
14
|
+
"version": "0.0.0-next-20221223140548",
|
|
15
15
|
"jsnext:source": "./src/index.ts",
|
|
16
16
|
"types": "./dist/types/index.d.ts",
|
|
17
17
|
"main": "./dist/js/node/index.js",
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"@babel/runtime": "^7.18.0",
|
|
47
47
|
"babel-plugin-macros": "3.1.0",
|
|
48
48
|
"hoist-non-react-statics": "^3.3.2",
|
|
49
|
-
"@modern-js/utils": "0.0.0-next-
|
|
49
|
+
"@modern-js/utils": "0.0.0-next-20221223140548"
|
|
50
50
|
},
|
|
51
51
|
"devDependencies": {
|
|
52
52
|
"@types/jest": "^27",
|
|
@@ -57,17 +57,17 @@
|
|
|
57
57
|
"jest": "^27",
|
|
58
58
|
"react": "^18",
|
|
59
59
|
"postcss": "^8.4.14",
|
|
60
|
-
"@modern-js/core": "0.0.0-next-
|
|
61
|
-
"@modern-js/module-tools": "0.0.0-next-
|
|
62
|
-
"@modern-js/runtime": "0.0.0-next-
|
|
63
|
-
"@modern-js/types": "0.0.0-next-
|
|
64
|
-
"@scripts/build": "0.0.0-next-
|
|
65
|
-
"@modern-js/app-tools": "0.0.0-next-
|
|
66
|
-
"@scripts/jest-config": "0.0.0-next-
|
|
60
|
+
"@modern-js/core": "0.0.0-next-20221223140548",
|
|
61
|
+
"@modern-js/module-tools": "0.0.0-next-20221223140548",
|
|
62
|
+
"@modern-js/runtime": "0.0.0-next-20221223140548",
|
|
63
|
+
"@modern-js/types": "0.0.0-next-20221223140548",
|
|
64
|
+
"@scripts/build": "0.0.0-next-20221223140548",
|
|
65
|
+
"@modern-js/app-tools": "0.0.0-next-20221223140548",
|
|
66
|
+
"@scripts/jest-config": "0.0.0-next-20221223140548"
|
|
67
67
|
},
|
|
68
68
|
"peerDependencies": {
|
|
69
69
|
"tailwindcss": "^2.0.4",
|
|
70
|
-
"@modern-js/runtime": "0.0.0-next-
|
|
70
|
+
"@modern-js/runtime": "0.0.0-next-20221223140548"
|
|
71
71
|
},
|
|
72
72
|
"peerDependenciesMeta": {
|
|
73
73
|
"@modern-js/runtime": {
|