weapp-tailwindcss 3.2.0-alpha.8 → 3.2.0
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 -0
- package/dist/cli.mjs +1 -0
- package/dist/gulp.js +2 -2
- package/dist/gulp.mjs +2 -2
- package/dist/{index-CsZGfl55.mjs → index-BEIjgKpF.mjs} +1 -1
- package/dist/{index-Cg32pB79.mjs → index-BUSWfTII.mjs} +1 -1
- package/dist/{index-qoUSw8fu.js → index-BVkWxeac.js} +1 -1
- package/dist/{index-BSraa0j4.js → index-D39btBag.js} +1 -1
- package/dist/{index-CcvOVn5P.mjs → index-DTZy_RpB.mjs} +1 -1
- package/dist/{index-DyK5Vd4R.js → index-HC-Qkn0i.js} +1 -1
- package/dist/index.js +4 -4
- package/dist/index.mjs +4 -4
- package/dist/{v5-DEr-PU6c.js → v5-8gu_iMbg.js} +1 -1
- package/dist/{v5-DBKr8wl9.mjs → v5-CFnJIK3x.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 +7 -7
package/dist/cli.js
CHANGED
|
@@ -31,6 +31,7 @@ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'defau
|
|
|
31
31
|
|
|
32
32
|
var semver__default = /*#__PURE__*/_interopDefaultCompat(semver);
|
|
33
33
|
|
|
34
|
+
process.title = 'node (weapp-tailwindcss)';
|
|
34
35
|
const args = process.argv.slice(2);
|
|
35
36
|
if (semver__default["default"].lt(process.versions.node, index.WEAPP_TW_REQUIRED_NODE_VERSION)) {
|
|
36
37
|
console.error(`You are using Node.js ${process.versions.node}. For weapp-tailwindcss, Node.js version >= v${index.WEAPP_TW_REQUIRED_NODE_VERSION} is required.`);
|
package/dist/cli.mjs
CHANGED
|
@@ -25,6 +25,7 @@ import '@csstools/postcss-is-pseudo-class';
|
|
|
25
25
|
import 'postcss-rem-to-responsive-pixel';
|
|
26
26
|
import 'postcss-selector-parser';
|
|
27
27
|
|
|
28
|
+
process.title = 'node (weapp-tailwindcss)';
|
|
28
29
|
const args = process.argv.slice(2);
|
|
29
30
|
if (semver.lt(process.versions.node, WEAPP_TW_REQUIRED_NODE_VERSION)) {
|
|
30
31
|
console.error(`You are using Node.js ${process.versions.node}. For weapp-tailwindcss, Node.js version >= v${WEAPP_TW_REQUIRED_NODE_VERSION} is required.`);
|
package/dist/gulp.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var index = require('./index-
|
|
5
|
+
var index = require('./index-BVkWxeac.js');
|
|
6
6
|
require('./options-D_WlG4zX.js');
|
|
7
7
|
require('magic-string');
|
|
8
8
|
require('./replace.js');
|
|
@@ -30,7 +30,7 @@ require('@tailwindcss-mangle/shared');
|
|
|
30
30
|
require('lru-cache');
|
|
31
31
|
require('md5');
|
|
32
32
|
require('node:stream');
|
|
33
|
-
require('./index-
|
|
33
|
+
require('./index-HC-Qkn0i.js');
|
|
34
34
|
require('debug');
|
|
35
35
|
|
|
36
36
|
|
package/dist/gulp.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { c as createPlugins } from './index-
|
|
1
|
+
export { c as createPlugins } from './index-DTZy_RpB.mjs';
|
|
2
2
|
import './options-Bx4whTEl.mjs';
|
|
3
3
|
import 'magic-string';
|
|
4
4
|
import './replace.mjs';
|
|
@@ -26,5 +26,5 @@ import '@tailwindcss-mangle/shared';
|
|
|
26
26
|
import 'lru-cache';
|
|
27
27
|
import 'md5';
|
|
28
28
|
import 'node:stream';
|
|
29
|
-
import './index-
|
|
29
|
+
import './index-BEIjgKpF.mjs';
|
|
30
30
|
import 'debug';
|
|
@@ -3,7 +3,7 @@ import _createDebug from 'debug';
|
|
|
3
3
|
const _debug = _createDebug('weapp-tw');
|
|
4
4
|
function createDebug(prefix) {
|
|
5
5
|
function debug(formatter, ...args) {
|
|
6
|
-
return _debug((
|
|
6
|
+
return _debug(('') + formatter, ...args);
|
|
7
7
|
}
|
|
8
8
|
return debug;
|
|
9
9
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { g as getOptions, c as createTailwindcssPatcher, _ as __awaiter } from './options-Bx4whTEl.mjs';
|
|
2
2
|
import { v as vitePluginName } from './index-Br8RI9kF.mjs';
|
|
3
3
|
import { g as getGroupedEntries } from './defaults-Cpt1fUNP.mjs';
|
|
4
|
-
import { c as createDebug } from './index-
|
|
4
|
+
import { c as createDebug } from './index-BEIjgKpF.mjs';
|
|
5
5
|
|
|
6
6
|
const debug = createDebug();
|
|
7
7
|
function UnifiedViteWeappTailwindcssPlugin(options = {}) {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
var options = require('./options-D_WlG4zX.js');
|
|
4
4
|
var stream = require('node:stream');
|
|
5
|
-
var index = require('./index-
|
|
5
|
+
var index = require('./index-HC-Qkn0i.js');
|
|
6
6
|
|
|
7
7
|
function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
|
|
8
8
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
var options = require('./options-D_WlG4zX.js');
|
|
4
4
|
var index = require('./index-DCE5ieKW.js');
|
|
5
5
|
var defaults = require('./defaults-Mf4eWves.js');
|
|
6
|
-
var index$1 = require('./index-
|
|
6
|
+
var index$1 = require('./index-HC-Qkn0i.js');
|
|
7
7
|
|
|
8
8
|
const debug = index$1.createDebug();
|
|
9
9
|
function UnifiedViteWeappTailwindcssPlugin(options$1 = {}) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { g as getOptions, c as createTailwindcssPatcher, _ as __awaiter } from './options-Bx4whTEl.mjs';
|
|
2
2
|
import stream from 'node:stream';
|
|
3
|
-
import { c as createDebug } from './index-
|
|
3
|
+
import { c as createDebug } from './index-BEIjgKpF.mjs';
|
|
4
4
|
|
|
5
5
|
const debug = createDebug();
|
|
6
6
|
const Transform = stream.Transform;
|
|
@@ -9,7 +9,7 @@ var _createDebug__default = /*#__PURE__*/_interopDefaultCompat(_createDebug);
|
|
|
9
9
|
const _debug = _createDebug__default["default"]('weapp-tw');
|
|
10
10
|
function createDebug(prefix) {
|
|
11
11
|
function debug(formatter, ...args) {
|
|
12
|
-
return _debug((
|
|
12
|
+
return _debug(('') + formatter, ...args);
|
|
13
13
|
}
|
|
14
14
|
return debug;
|
|
15
15
|
}
|
package/dist/index.js
CHANGED
|
@@ -2,9 +2,9 @@
|
|
|
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-
|
|
5
|
+
var v5 = require('./v5-8gu_iMbg.js');
|
|
6
|
+
var index = require('./index-D39btBag.js');
|
|
7
|
+
var index$1 = require('./index-BVkWxeac.js');
|
|
8
8
|
require('./options-D_WlG4zX.js');
|
|
9
9
|
require('magic-string');
|
|
10
10
|
require('./replace.js');
|
|
@@ -31,7 +31,7 @@ require('tailwindcss-patch');
|
|
|
31
31
|
require('@tailwindcss-mangle/shared');
|
|
32
32
|
require('lru-cache');
|
|
33
33
|
require('md5');
|
|
34
|
-
require('./index-
|
|
34
|
+
require('./index-HC-Qkn0i.js');
|
|
35
35
|
require('debug');
|
|
36
36
|
require('node:stream');
|
|
37
37
|
|
package/dist/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { U as UnifiedWebpackPluginV5 } from './v5-
|
|
2
|
-
export { U as UnifiedViteWeappTailwindcssPlugin } from './index-
|
|
3
|
-
export { c as createPlugins } from './index-
|
|
1
|
+
export { U as UnifiedWebpackPluginV5 } from './v5-CFnJIK3x.mjs';
|
|
2
|
+
export { U as UnifiedViteWeappTailwindcssPlugin } from './index-BUSWfTII.mjs';
|
|
3
|
+
export { c as createPlugins } from './index-DTZy_RpB.mjs';
|
|
4
4
|
import './options-Bx4whTEl.mjs';
|
|
5
5
|
import 'magic-string';
|
|
6
6
|
import './replace.mjs';
|
|
@@ -27,6 +27,6 @@ import 'tailwindcss-patch';
|
|
|
27
27
|
import '@tailwindcss-mangle/shared';
|
|
28
28
|
import 'lru-cache';
|
|
29
29
|
import 'md5';
|
|
30
|
-
import './index-
|
|
30
|
+
import './index-BEIjgKpF.mjs';
|
|
31
31
|
import 'debug';
|
|
32
32
|
import 'node:stream';
|
|
@@ -5,7 +5,7 @@ var path = require('node:path');
|
|
|
5
5
|
var fs = require('node:fs');
|
|
6
6
|
var index = require('./index-DCE5ieKW.js');
|
|
7
7
|
var defaults = require('./defaults-Mf4eWves.js');
|
|
8
|
-
var index$1 = require('./index-
|
|
8
|
+
var index$1 = require('./index-HC-Qkn0i.js');
|
|
9
9
|
|
|
10
10
|
function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
|
|
11
11
|
|
|
@@ -3,7 +3,7 @@ import path from 'node:path';
|
|
|
3
3
|
import fs from 'node:fs';
|
|
4
4
|
import { b as pluginName } from './index-Br8RI9kF.mjs';
|
|
5
5
|
import { g as getGroupedEntries, r as removeExt } from './defaults-Cpt1fUNP.mjs';
|
|
6
|
-
import { c as createDebug } from './index-
|
|
6
|
+
import { c as createDebug } from './index-BEIjgKpF.mjs';
|
|
7
7
|
|
|
8
8
|
const debug = createDebug();
|
|
9
9
|
class UnifiedWebpackPluginV5 {
|
package/dist/vite.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var index = require('./index-
|
|
5
|
+
var index = require('./index-D39btBag.js');
|
|
6
6
|
require('./options-D_WlG4zX.js');
|
|
7
7
|
require('magic-string');
|
|
8
8
|
require('./replace.js');
|
|
@@ -29,7 +29,7 @@ require('tailwindcss-patch');
|
|
|
29
29
|
require('@tailwindcss-mangle/shared');
|
|
30
30
|
require('lru-cache');
|
|
31
31
|
require('md5');
|
|
32
|
-
require('./index-
|
|
32
|
+
require('./index-HC-Qkn0i.js');
|
|
33
33
|
require('debug');
|
|
34
34
|
|
|
35
35
|
|
package/dist/vite.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { U as UnifiedViteWeappTailwindcssPlugin } from './index-
|
|
1
|
+
export { U as UnifiedViteWeappTailwindcssPlugin } from './index-BUSWfTII.mjs';
|
|
2
2
|
import './options-Bx4whTEl.mjs';
|
|
3
3
|
import 'magic-string';
|
|
4
4
|
import './replace.mjs';
|
|
@@ -25,5 +25,5 @@ import 'tailwindcss-patch';
|
|
|
25
25
|
import '@tailwindcss-mangle/shared';
|
|
26
26
|
import 'lru-cache';
|
|
27
27
|
import 'md5';
|
|
28
|
-
import './index-
|
|
28
|
+
import './index-BEIjgKpF.mjs';
|
|
29
29
|
import 'debug';
|
package/dist/webpack.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var v5 = require('./v5-
|
|
5
|
+
var v5 = require('./v5-8gu_iMbg.js');
|
|
6
6
|
require('./options-D_WlG4zX.js');
|
|
7
7
|
require('magic-string');
|
|
8
8
|
require('./replace.js');
|
|
@@ -29,7 +29,7 @@ require('tailwindcss-patch');
|
|
|
29
29
|
require('@tailwindcss-mangle/shared');
|
|
30
30
|
require('lru-cache');
|
|
31
31
|
require('md5');
|
|
32
|
-
require('./index-
|
|
32
|
+
require('./index-HC-Qkn0i.js');
|
|
33
33
|
require('debug');
|
|
34
34
|
|
|
35
35
|
|
package/dist/webpack.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { U as UnifiedWebpackPluginV5 } from './v5-
|
|
1
|
+
export { U as UnifiedWebpackPluginV5 } from './v5-CFnJIK3x.mjs';
|
|
2
2
|
import './options-Bx4whTEl.mjs';
|
|
3
3
|
import 'magic-string';
|
|
4
4
|
import './replace.mjs';
|
|
@@ -25,5 +25,5 @@ import 'tailwindcss-patch';
|
|
|
25
25
|
import '@tailwindcss-mangle/shared';
|
|
26
26
|
import 'lru-cache';
|
|
27
27
|
import 'md5';
|
|
28
|
-
import './index-
|
|
28
|
+
import './index-BEIjgKpF.mjs';
|
|
29
29
|
import 'debug';
|
package/dist/webpack4.js
CHANGED
|
@@ -8,7 +8,7 @@ var fs = require('node:fs');
|
|
|
8
8
|
var webpackSources = require('webpack-sources');
|
|
9
9
|
var index = require('./index-DCE5ieKW.js');
|
|
10
10
|
var defaults = require('./defaults-Mf4eWves.js');
|
|
11
|
-
var index$1 = require('./index-
|
|
11
|
+
var index$1 = require('./index-HC-Qkn0i.js');
|
|
12
12
|
require('magic-string');
|
|
13
13
|
require('./replace.js');
|
|
14
14
|
require('@weapp-core/escape');
|
package/dist/webpack4.mjs
CHANGED
|
@@ -4,7 +4,7 @@ import fs from 'node:fs';
|
|
|
4
4
|
import { ConcatSource, RawSource } from 'webpack-sources';
|
|
5
5
|
import { b as pluginName } from './index-Br8RI9kF.mjs';
|
|
6
6
|
import { g as getGroupedEntries, r as removeExt } from './defaults-Cpt1fUNP.mjs';
|
|
7
|
-
import { c as createDebug } from './index-
|
|
7
|
+
import { c as createDebug } from './index-BEIjgKpF.mjs';
|
|
8
8
|
import 'magic-string';
|
|
9
9
|
import './replace.mjs';
|
|
10
10
|
import '@weapp-core/escape';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "weapp-tailwindcss",
|
|
3
|
-
"version": "3.2.0
|
|
3
|
+
"version": "3.2.0",
|
|
4
4
|
"description": "把tailwindcss jit引擎,带给小程序开发者们! bring tailwindcss jit engine to miniprogram developers!",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.mjs",
|
|
@@ -118,15 +118,15 @@
|
|
|
118
118
|
"author": "SonOfMagic <qq1324318532@gmail.com>",
|
|
119
119
|
"license": "MIT",
|
|
120
120
|
"bugs": {
|
|
121
|
-
"url": "https://github.com/sonofmagic/weapp-tailwindcss
|
|
121
|
+
"url": "https://github.com/sonofmagic/weapp-tailwindcss/issues"
|
|
122
122
|
},
|
|
123
123
|
"homepage": "https://weapp-tw.icebreaker.top",
|
|
124
124
|
"dependencies": {
|
|
125
125
|
"@ast-core/escape": "^1.0.1",
|
|
126
|
-
"@babel/generator": "7.24.
|
|
127
|
-
"@babel/parser": "7.24.
|
|
128
|
-
"@babel/traverse": "7.24.
|
|
129
|
-
"@babel/types": "7.24.
|
|
126
|
+
"@babel/generator": "7.24.5",
|
|
127
|
+
"@babel/parser": "7.24.5",
|
|
128
|
+
"@babel/traverse": "7.24.5",
|
|
129
|
+
"@babel/types": "7.24.5",
|
|
130
130
|
"@csstools/postcss-is-pseudo-class": "4.0.6",
|
|
131
131
|
"@tailwindcss-mangle/shared": "^2.2.2",
|
|
132
132
|
"@weapp-core/escape": "^2.0.0",
|
|
@@ -134,7 +134,7 @@
|
|
|
134
134
|
"debug": "4.3.4",
|
|
135
135
|
"htmlparser2": "9.1.0",
|
|
136
136
|
"loader-utils": "2.0.4",
|
|
137
|
-
"lru-cache": "10.2.
|
|
137
|
+
"lru-cache": "10.2.2",
|
|
138
138
|
"magic-string": "0.30.10",
|
|
139
139
|
"md5": "2.3.0",
|
|
140
140
|
"postcss": "8.4.38",
|