weapp-tailwindcss 2.8.2 → 2.8.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/cli.js +1 -1
- package/dist/cli.mjs +1 -1
- package/dist/gulp.js +1 -1
- package/dist/gulp.mjs +1 -1
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/dist/{options-8a945166.mjs → options-673b7a98.mjs} +1 -1
- package/dist/{options-50d69eba.js → options-92c91aaa.js} +1 -1
- package/dist/vite.js +1 -1
- package/dist/vite.mjs +1 -1
- package/dist/webpack.js +1 -1
- package/dist/webpack.mjs +1 -1
- package/package.json +13 -13
package/dist/cli.js
CHANGED
package/dist/cli.mjs
CHANGED
package/dist/gulp.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
var stream = require('node:stream');
|
|
6
|
-
var options = require('./options-
|
|
6
|
+
var options = require('./options-92c91aaa.js');
|
|
7
7
|
require('micromatch');
|
|
8
8
|
require('magic-string');
|
|
9
9
|
require('./replace.js');
|
package/dist/gulp.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import stream from 'node:stream';
|
|
2
|
-
import { g as getOptions, a as createTailwindcssPatcher } from './options-
|
|
2
|
+
import { g as getOptions, a as createTailwindcssPatcher } from './options-673b7a98.mjs';
|
|
3
3
|
import 'micromatch';
|
|
4
4
|
import 'magic-string';
|
|
5
5
|
import './replace.mjs';
|
package/dist/index.js
CHANGED
|
@@ -7,7 +7,7 @@ var vite = require('./vite.js');
|
|
|
7
7
|
var gulp = require('./gulp.js');
|
|
8
8
|
require('node:path');
|
|
9
9
|
require('node:fs');
|
|
10
|
-
require('./options-
|
|
10
|
+
require('./options-92c91aaa.js');
|
|
11
11
|
require('micromatch');
|
|
12
12
|
require('magic-string');
|
|
13
13
|
require('./replace.js');
|
package/dist/index.mjs
CHANGED
|
@@ -3,7 +3,7 @@ export { UnifiedViteWeappTailwindcssPlugin } from './vite.mjs';
|
|
|
3
3
|
export { createPlugins } from './gulp.mjs';
|
|
4
4
|
import 'node:path';
|
|
5
5
|
import 'node:fs';
|
|
6
|
-
import './options-
|
|
6
|
+
import './options-673b7a98.mjs';
|
|
7
7
|
import 'micromatch';
|
|
8
8
|
import 'magic-string';
|
|
9
9
|
import './replace.mjs';
|
|
@@ -408,7 +408,7 @@ function customTemplateHandler(rawSource, options) {
|
|
|
408
408
|
function update() {
|
|
409
409
|
s.update(parser.startIndex + name.length + 2, parser.endIndex, templateReplacer(value, options));
|
|
410
410
|
}
|
|
411
|
-
if (!disabledDefaultTemplateHandler && (name === 'class' || name === 'hover-class')) {
|
|
411
|
+
if (!disabledDefaultTemplateHandler && (name === 'class' || name === 'hover-class' || name === 'virtualhostclass')) {
|
|
412
412
|
update();
|
|
413
413
|
}
|
|
414
414
|
for (const [t, props] of customAttributesEntities) {
|
|
@@ -439,7 +439,7 @@ function customTemplateHandler(rawSource, options) {
|
|
|
439
439
|
function update() {
|
|
440
440
|
s.update(parser.startIndex + name.length + 2, parser.endIndex, templateReplacer(value, options));
|
|
441
441
|
}
|
|
442
|
-
if (!disabledDefaultTemplateHandler && (name === 'class' || name === 'hover-class')) {
|
|
442
|
+
if (!disabledDefaultTemplateHandler && (name === 'class' || name === 'hover-class' || name === 'virtualhostclass')) {
|
|
443
443
|
update();
|
|
444
444
|
}
|
|
445
445
|
for (const [t, props] of customAttributesEntities) {
|
package/dist/vite.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-92c91aaa.js');
|
|
6
6
|
var postcss = require('./postcss-8d7f67b4.js');
|
|
7
7
|
var defaults = require('./defaults-263271f9.js');
|
|
8
8
|
require('micromatch');
|
package/dist/vite.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { g as getOptions, a as createTailwindcssPatcher } from './options-
|
|
1
|
+
import { g as getOptions, a as createTailwindcssPatcher } from './options-673b7a98.mjs';
|
|
2
2
|
import { v as vitePluginName } from './postcss-55ed4d42.mjs';
|
|
3
3
|
import { g as getGroupedEntries } from './defaults-dc8a0e3d.mjs';
|
|
4
4
|
import 'micromatch';
|
package/dist/webpack.js
CHANGED
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
var path = require('node:path');
|
|
6
6
|
var fs = require('node:fs');
|
|
7
|
-
var options = require('./options-
|
|
7
|
+
var options = require('./options-92c91aaa.js');
|
|
8
8
|
var postcss = require('./postcss-8d7f67b4.js');
|
|
9
9
|
var defaults = require('./defaults-263271f9.js');
|
|
10
10
|
require('micromatch');
|
package/dist/webpack.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import path from 'node:path';
|
|
2
2
|
import fs from 'node:fs';
|
|
3
|
-
import { g as getOptions, a as createTailwindcssPatcher } from './options-
|
|
3
|
+
import { g as getOptions, a as createTailwindcssPatcher } from './options-673b7a98.mjs';
|
|
4
4
|
import { a as pluginName } from './postcss-55ed4d42.mjs';
|
|
5
5
|
import { g as getGroupedEntries } from './defaults-dc8a0e3d.mjs';
|
|
6
6
|
import 'micromatch';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "weapp-tailwindcss",
|
|
3
|
-
"version": "2.8.
|
|
3
|
+
"version": "2.8.3",
|
|
4
4
|
"description": "把tailwindcss jit引擎,带给小程序开发者们! bring tailwindcss jit engine to miniprogram developers!",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.mjs",
|
|
@@ -102,7 +102,7 @@
|
|
|
102
102
|
},
|
|
103
103
|
"homepage": "https://weapp-tw.icebreaker.top",
|
|
104
104
|
"devDependencies": {
|
|
105
|
-
"@babel/core": "^7.22.
|
|
105
|
+
"@babel/core": "^7.22.17",
|
|
106
106
|
"@icebreakers/cli": "0.1.1",
|
|
107
107
|
"@icebreakers/readme": "0.1.0",
|
|
108
108
|
"@rollup/plugin-alias": "^5.0.0",
|
|
@@ -122,14 +122,14 @@
|
|
|
122
122
|
"@types/js-beautify": "^1.14.0",
|
|
123
123
|
"@types/klaw": "^3.0.3",
|
|
124
124
|
"@types/loader-utils": "^2.0.4",
|
|
125
|
-
"@types/lodash": "^4.14.
|
|
125
|
+
"@types/lodash": "^4.14.198",
|
|
126
126
|
"@types/micromatch": "^4.0.2",
|
|
127
|
-
"@types/node": "^20.5.
|
|
127
|
+
"@types/node": "^20.5.9",
|
|
128
128
|
"@types/semver": "^7.5.1",
|
|
129
129
|
"@types/vinyl": "^2.0.7",
|
|
130
130
|
"@types/webpack": "^5.28.2",
|
|
131
131
|
"@types/webpack-sources": "^3.2.0",
|
|
132
|
-
"@vitest/coverage-v8": "^0.34.
|
|
132
|
+
"@vitest/coverage-v8": "^0.34.4",
|
|
133
133
|
"autoprefixer": "^10.4.15",
|
|
134
134
|
"babel-loader": "^9.1.3",
|
|
135
135
|
"bumpp": "^9.2.0",
|
|
@@ -163,7 +163,7 @@
|
|
|
163
163
|
"postcss-rem-to-responsive-pixel": "^5.1.3",
|
|
164
164
|
"prettier": "^3.0.3",
|
|
165
165
|
"promisify-loader-runner": "^1.0.0",
|
|
166
|
-
"rollup": "^3.
|
|
166
|
+
"rollup": "^3.29.0",
|
|
167
167
|
"rollup-plugin-visualizer": "^5.9.2",
|
|
168
168
|
"style-loader": "^3.3.3",
|
|
169
169
|
"tailwind-children": "^0.5.0",
|
|
@@ -171,24 +171,24 @@
|
|
|
171
171
|
"ts-jest": "^29.1.1",
|
|
172
172
|
"ts-node": "^10.9.1",
|
|
173
173
|
"ts-patch": "^3.0.2",
|
|
174
|
-
"tsd": "^0.
|
|
174
|
+
"tsd": "^0.29.0",
|
|
175
175
|
"tslib": "^2.6.2",
|
|
176
176
|
"typescript": "^5.2.2",
|
|
177
177
|
"typescript-transform-paths": "^3.4.6",
|
|
178
178
|
"vinyl": "^3.0.0",
|
|
179
179
|
"vite": "^4.4.9",
|
|
180
|
-
"vitest": "^0.34.
|
|
180
|
+
"vitest": "^0.34.4",
|
|
181
181
|
"weapp-tailwindcss-children": "^0.1.0",
|
|
182
182
|
"webpack": "^5.88.2",
|
|
183
183
|
"webpack-build-utils": "^0.0.4"
|
|
184
184
|
},
|
|
185
185
|
"dependencies": {
|
|
186
186
|
"@ast-core/escape": "^1.0.1",
|
|
187
|
-
"@babel/generator": "^7.22.
|
|
188
|
-
"@babel/parser": "^7.22.
|
|
189
|
-
"@babel/traverse": "^7.22.
|
|
190
|
-
"@babel/types": "^7.22.
|
|
191
|
-
"@csstools/postcss-is-pseudo-class": "^4.0.
|
|
187
|
+
"@babel/generator": "^7.22.15",
|
|
188
|
+
"@babel/parser": "^7.22.16",
|
|
189
|
+
"@babel/traverse": "^7.22.17",
|
|
190
|
+
"@babel/types": "^7.22.17",
|
|
191
|
+
"@csstools/postcss-is-pseudo-class": "^4.0.1",
|
|
192
192
|
"@tailwindcss-mangle/shared": "^2.1.0",
|
|
193
193
|
"@weapp-core/escape": "^2.0.0",
|
|
194
194
|
"@weapp-core/regex": "^1.0.1",
|