weapp-tailwindcss 3.0.5 → 3.0.7
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/cli.js +1 -1
- package/dist/cli.mjs +1 -1
- package/dist/core.js +1 -1
- package/dist/core.mjs +1 -1
- package/dist/gulp.js +2 -2
- package/dist/gulp.mjs +2 -2
- package/dist/{index-tkvJue1P.mjs → index-1Jx4_-5U.mjs} +1 -1
- package/dist/{index-8dmkDRIb.mjs → index-7vNg_CcK.mjs} +1 -1
- package/dist/{index-IMKSE35e.js → index-MBz4BRF5.js} +1 -1
- package/dist/{index-0jdXviTO.js → index-piGwxYqY.js} +1 -1
- package/dist/index.js +4 -4
- package/dist/index.mjs +4 -4
- package/dist/{options-ERHjMNsB.mjs → options-Z5mDnfcr.mjs} +1 -1
- package/dist/{options-dD1xK3ZL.js → options-aUrnsvKZ.js} +1 -1
- package/dist/{v5-Lso3d1gN.js → v5-esmS1BQl.js} +1 -1
- package/dist/{v5-d_Ek52tu.mjs → v5-qZ8Z3Aac.mjs} +1 -1
- package/dist/vite.js +2 -2
- package/dist/vite.mjs +2 -2
- package/dist/webpack.js +2 -2
- package/dist/webpack.mjs +2 -2
- package/dist/webpack4.js +1 -1
- package/dist/webpack4.mjs +1 -1
- package/package.json +21 -21
package/dist/cli.js
CHANGED
package/dist/cli.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import semver from 'semver';
|
|
2
|
-
import { g as getOptions, a as createPatch } from './options-
|
|
2
|
+
import { g as getOptions, a as createPatch } from './options-Z5mDnfcr.mjs';
|
|
3
3
|
import { W as WEAPP_TW_REQUIRED_NODE_VERSION } from './index-_74RBzwy.mjs';
|
|
4
4
|
import 'magic-string';
|
|
5
5
|
import './replace.mjs';
|
package/dist/core.js
CHANGED
package/dist/core.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { g as getOptions, c as createTailwindcssPatcher, _ as __awaiter } from './options-
|
|
1
|
+
import { g as getOptions, c as createTailwindcssPatcher, _ as __awaiter } from './options-Z5mDnfcr.mjs';
|
|
2
2
|
import 'magic-string';
|
|
3
3
|
import './replace.mjs';
|
|
4
4
|
import '@weapp-core/escape';
|
package/dist/gulp.js
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var index = require('./index-
|
|
6
|
-
require('./options-
|
|
5
|
+
var index = require('./index-MBz4BRF5.js');
|
|
6
|
+
require('./options-aUrnsvKZ.js');
|
|
7
7
|
require('magic-string');
|
|
8
8
|
require('./replace.js');
|
|
9
9
|
require('@weapp-core/escape');
|
package/dist/gulp.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { c as createPlugins } from './index-
|
|
2
|
-
import './options-
|
|
1
|
+
export { c as createPlugins } from './index-7vNg_CcK.mjs';
|
|
2
|
+
import './options-Z5mDnfcr.mjs';
|
|
3
3
|
import 'magic-string';
|
|
4
4
|
import './replace.mjs';
|
|
5
5
|
import '@weapp-core/escape';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { g as getOptions, c as createTailwindcssPatcher, _ as __awaiter } from './options-
|
|
1
|
+
import { g as getOptions, c as createTailwindcssPatcher, _ as __awaiter } from './options-Z5mDnfcr.mjs';
|
|
2
2
|
import { v as vitePluginName } from './index-_74RBzwy.mjs';
|
|
3
3
|
import { g as getGroupedEntries } from './defaults-c-Db9ovX.mjs';
|
|
4
4
|
import { c as createDebug } from './index-06BoOZig.mjs';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { g as getOptions, c as createTailwindcssPatcher, _ as __awaiter } from './options-
|
|
1
|
+
import { g as getOptions, c as createTailwindcssPatcher, _ as __awaiter } from './options-Z5mDnfcr.mjs';
|
|
2
2
|
import stream from 'node:stream';
|
|
3
3
|
|
|
4
4
|
const Transform = stream.Transform;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var options = require('./options-
|
|
3
|
+
var options = require('./options-aUrnsvKZ.js');
|
|
4
4
|
var stream = require('node:stream');
|
|
5
5
|
|
|
6
6
|
function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
|
package/dist/index.js
CHANGED
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var v5 = require('./v5-
|
|
6
|
-
var index = require('./index-
|
|
7
|
-
var index$1 = require('./index-
|
|
8
|
-
require('./options-
|
|
5
|
+
var v5 = require('./v5-esmS1BQl.js');
|
|
6
|
+
var index = require('./index-piGwxYqY.js');
|
|
7
|
+
var index$1 = require('./index-MBz4BRF5.js');
|
|
8
|
+
require('./options-aUrnsvKZ.js');
|
|
9
9
|
require('magic-string');
|
|
10
10
|
require('./replace.js');
|
|
11
11
|
require('@weapp-core/escape');
|
package/dist/index.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { U as UnifiedWebpackPluginV5 } from './v5-
|
|
2
|
-
export { U as UnifiedViteWeappTailwindcssPlugin } from './index-
|
|
3
|
-
export { c as createPlugins } from './index-
|
|
4
|
-
import './options-
|
|
1
|
+
export { U as UnifiedWebpackPluginV5 } from './v5-qZ8Z3Aac.mjs';
|
|
2
|
+
export { U as UnifiedViteWeappTailwindcssPlugin } from './index-1Jx4_-5U.mjs';
|
|
3
|
+
export { c as createPlugins } from './index-7vNg_CcK.mjs';
|
|
4
|
+
import './options-Z5mDnfcr.mjs';
|
|
5
5
|
import 'magic-string';
|
|
6
6
|
import './replace.mjs';
|
|
7
7
|
import '@weapp-core/escape';
|
|
@@ -319,7 +319,7 @@ function customTemplateHandler(rawSource, options) {
|
|
|
319
319
|
onattribute(name, value, quote) {
|
|
320
320
|
if (value) {
|
|
321
321
|
function update() {
|
|
322
|
-
s.update(parser.startIndex + name.length + 2, parser.endIndex, templateReplacer(value, Object.assign(Object.assign({}, options), { quote })));
|
|
322
|
+
s.update(parser.startIndex + name.length + 2, parser.endIndex - 1, templateReplacer(value, Object.assign(Object.assign({}, options), { quote })));
|
|
323
323
|
}
|
|
324
324
|
if (!disabledDefaultTemplateHandler && (name === 'class' || name === 'hover-class' || name === 'virtualhostclass')) {
|
|
325
325
|
update();
|
|
@@ -350,7 +350,7 @@ function customTemplateHandler(rawSource, options) {
|
|
|
350
350
|
onattribute(name, value, quote) {
|
|
351
351
|
if (value) {
|
|
352
352
|
function update() {
|
|
353
|
-
s.update(parser.startIndex + name.length + 2, parser.endIndex, templateReplacer(value, Object.assign(Object.assign({}, options), { quote })));
|
|
353
|
+
s.update(parser.startIndex + name.length + 2, parser.endIndex - 1, templateReplacer(value, Object.assign(Object.assign({}, options), { quote })));
|
|
354
354
|
}
|
|
355
355
|
if (!disabledDefaultTemplateHandler && (name === 'class' || name === 'hover-class' || name === 'virtualhostclass')) {
|
|
356
356
|
update();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { g as getOptions, c as createTailwindcssPatcher, _ as __awaiter } from './options-
|
|
1
|
+
import { g as getOptions, c as createTailwindcssPatcher, _ as __awaiter } from './options-Z5mDnfcr.mjs';
|
|
2
2
|
import path from 'node:path';
|
|
3
3
|
import fs from 'node:fs';
|
|
4
4
|
import { b as pluginName } from './index-_74RBzwy.mjs';
|
package/dist/vite.js
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var index = require('./index-
|
|
6
|
-
require('./options-
|
|
5
|
+
var index = require('./index-piGwxYqY.js');
|
|
6
|
+
require('./options-aUrnsvKZ.js');
|
|
7
7
|
require('magic-string');
|
|
8
8
|
require('./replace.js');
|
|
9
9
|
require('@weapp-core/escape');
|
package/dist/vite.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { U as UnifiedViteWeappTailwindcssPlugin } from './index-
|
|
2
|
-
import './options-
|
|
1
|
+
export { U as UnifiedViteWeappTailwindcssPlugin } from './index-1Jx4_-5U.mjs';
|
|
2
|
+
import './options-Z5mDnfcr.mjs';
|
|
3
3
|
import 'magic-string';
|
|
4
4
|
import './replace.mjs';
|
|
5
5
|
import '@weapp-core/escape';
|
package/dist/webpack.js
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var v5 = require('./v5-
|
|
6
|
-
require('./options-
|
|
5
|
+
var v5 = require('./v5-esmS1BQl.js');
|
|
6
|
+
require('./options-aUrnsvKZ.js');
|
|
7
7
|
require('magic-string');
|
|
8
8
|
require('./replace.js');
|
|
9
9
|
require('@weapp-core/escape');
|
package/dist/webpack.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { U as UnifiedWebpackPluginV5 } from './v5-
|
|
2
|
-
import './options-
|
|
1
|
+
export { U as UnifiedWebpackPluginV5 } from './v5-qZ8Z3Aac.mjs';
|
|
2
|
+
import './options-Z5mDnfcr.mjs';
|
|
3
3
|
import 'magic-string';
|
|
4
4
|
import './replace.mjs';
|
|
5
5
|
import '@weapp-core/escape';
|
package/dist/webpack4.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var options = require('./options-
|
|
5
|
+
var options = require('./options-aUrnsvKZ.js');
|
|
6
6
|
var path = require('node:path');
|
|
7
7
|
var fs = require('node:fs');
|
|
8
8
|
var webpackSources = require('webpack-sources');
|
package/dist/webpack4.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { g as getOptions, c as createTailwindcssPatcher, _ as __awaiter } from './options-
|
|
1
|
+
import { g as getOptions, c as createTailwindcssPatcher, _ as __awaiter } from './options-Z5mDnfcr.mjs';
|
|
2
2
|
import path from 'node:path';
|
|
3
3
|
import fs from 'node:fs';
|
|
4
4
|
import { ConcatSource, RawSource } from 'webpack-sources';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "weapp-tailwindcss",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.7",
|
|
4
4
|
"description": "把tailwindcss jit引擎,带给小程序开发者们! bring tailwindcss jit engine to miniprogram developers!",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.mjs",
|
|
@@ -130,7 +130,7 @@
|
|
|
130
130
|
"@rollup/plugin-json": "^6.1.0",
|
|
131
131
|
"@rollup/plugin-node-resolve": "^15.2.3",
|
|
132
132
|
"@rollup/plugin-terser": "^0.4.4",
|
|
133
|
-
"@rollup/plugin-typescript": "^11.1.
|
|
133
|
+
"@rollup/plugin-typescript": "^11.1.6",
|
|
134
134
|
"@tsconfig/recommended": "^1.0.3",
|
|
135
135
|
"@types/babel__generator": "^7.6.8",
|
|
136
136
|
"@types/babel__traverse": "^7.20.5",
|
|
@@ -145,7 +145,7 @@
|
|
|
145
145
|
"@types/lodash": "^4.14.202",
|
|
146
146
|
"@types/md5": "^2.3.5",
|
|
147
147
|
"@types/micromatch": "^4.0.6",
|
|
148
|
-
"@types/node": "^20.
|
|
148
|
+
"@types/node": "^20.11.0",
|
|
149
149
|
"@types/semver": "^7.5.6",
|
|
150
150
|
"@types/vinyl": "^2.0.11",
|
|
151
151
|
"@types/webpack": "^5.28.5",
|
|
@@ -158,7 +158,7 @@
|
|
|
158
158
|
"bumpp": "^9.2.1",
|
|
159
159
|
"colorette": "^2.0.20",
|
|
160
160
|
"cross-env": "^7.0.3",
|
|
161
|
-
"css-loader": "^6.
|
|
161
|
+
"css-loader": "^6.9.0",
|
|
162
162
|
"css-to-tailwindcss-plugin": "^0.2.5",
|
|
163
163
|
"dedent": "^1.5.1",
|
|
164
164
|
"defu": "6.1.4",
|
|
@@ -168,7 +168,7 @@
|
|
|
168
168
|
"eslint": "8.56.0",
|
|
169
169
|
"eslint-config-icebreaker": "^1.2.3",
|
|
170
170
|
"eslint-config-prettier": "^9.1.0",
|
|
171
|
-
"eslint-plugin-prettier": "^5.1.
|
|
171
|
+
"eslint-plugin-prettier": "^5.1.3",
|
|
172
172
|
"execa": "^7.2.0",
|
|
173
173
|
"fast-glob": "^3.3.2",
|
|
174
174
|
"fs-extra": "^11.2.0",
|
|
@@ -178,7 +178,7 @@
|
|
|
178
178
|
"js-beautify": "^1.14.11",
|
|
179
179
|
"klaw": "^4.1.0",
|
|
180
180
|
"lodash": "^4.17.21",
|
|
181
|
-
"mini-css-extract-plugin": "^2.7.
|
|
181
|
+
"mini-css-extract-plugin": "^2.7.7",
|
|
182
182
|
"miniprogram-automator": "^0.12.1",
|
|
183
183
|
"pkg-types": "^1.0.3",
|
|
184
184
|
"postcss-load-config": "^5.0.2",
|
|
@@ -188,10 +188,10 @@
|
|
|
188
188
|
"rollup": "^4.9.4",
|
|
189
189
|
"rollup-plugin-visualizer": "^5.12.0",
|
|
190
190
|
"sass": "^1.69.7",
|
|
191
|
-
"style-loader": "^3.3.
|
|
191
|
+
"style-loader": "^3.3.4",
|
|
192
192
|
"tailwindcss": "^3.4.1",
|
|
193
193
|
"ts-node": "^10.9.2",
|
|
194
|
-
"ts-patch": "^3.1.
|
|
194
|
+
"ts-patch": "^3.1.2",
|
|
195
195
|
"tsd": "^0.30.3",
|
|
196
196
|
"tslib": "^2.6.2",
|
|
197
197
|
"typescript": "^5.3.3",
|
|
@@ -205,26 +205,26 @@
|
|
|
205
205
|
},
|
|
206
206
|
"dependencies": {
|
|
207
207
|
"@ast-core/escape": "^1.0.1",
|
|
208
|
-
"@babel/generator": "
|
|
209
|
-
"@babel/parser": "
|
|
210
|
-
"@babel/traverse": "
|
|
211
|
-
"@babel/types": "
|
|
208
|
+
"@babel/generator": "7.23.6",
|
|
209
|
+
"@babel/parser": "7.23.6",
|
|
210
|
+
"@babel/traverse": "7.23.7",
|
|
211
|
+
"@babel/types": "7.23.6",
|
|
212
212
|
"@csstools/postcss-is-pseudo-class": "4.0.3",
|
|
213
213
|
"@tailwindcss-mangle/shared": "^2.2.2",
|
|
214
214
|
"@weapp-core/escape": "^2.0.0",
|
|
215
215
|
"@weapp-core/regex": "^1.0.1",
|
|
216
|
-
"debug": "
|
|
217
|
-
"htmlparser2": "9.
|
|
218
|
-
"loader-utils": "
|
|
219
|
-
"lru-cache": "
|
|
220
|
-
"magic-string": "
|
|
221
|
-
"md5": "
|
|
216
|
+
"debug": "4.3.4",
|
|
217
|
+
"htmlparser2": "9.1.0",
|
|
218
|
+
"loader-utils": "2.0.3",
|
|
219
|
+
"lru-cache": "10.1.0",
|
|
220
|
+
"magic-string": "0.30.5",
|
|
221
|
+
"md5": "2.3.0",
|
|
222
222
|
"postcss": "8.4.33",
|
|
223
223
|
"postcss-rem-to-responsive-pixel": "^6.0.1",
|
|
224
|
-
"postcss-selector-parser": "
|
|
225
|
-
"semver": "
|
|
224
|
+
"postcss-selector-parser": "6.0.15",
|
|
225
|
+
"semver": "7.5.4",
|
|
226
226
|
"tailwindcss-patch": "^2.2.2",
|
|
227
|
-
"webpack-sources": "
|
|
227
|
+
"webpack-sources": "3.2.3"
|
|
228
228
|
},
|
|
229
229
|
"packageManager": "pnpm@8.10.2",
|
|
230
230
|
"engines": {
|