weapp-tailwindcss 2.4.0 → 2.4.1
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 +3 -3
- package/dist/cli.mjs +3 -3
- package/dist/gulp.js +3 -3
- package/dist/gulp.mjs +3 -3
- package/dist/index.js +3 -3
- package/dist/index.mjs +3 -3
- package/dist/{options-5c083791.mjs → options-3578215d.mjs} +2 -2
- package/dist/{options-450d76c2.js → options-b3e419f1.js} +2 -2
- package/dist/{postcss-0c103b15.js → postcss-06f57f3f.js} +1 -1
- package/dist/{postcss-e3fcf6f1.mjs → postcss-564aef44.mjs} +1 -1
- package/dist/postcss.js +2 -2
- package/dist/postcss.mjs +2 -2
- package/dist/replace.js +1 -1
- package/dist/replace.mjs +2 -2
- package/dist/{shared-89ea7f77.mjs → shared-497eda3c.mjs} +1 -1
- package/dist/{shared-9744fdd1.js → shared-823d1fc1.js} +1 -1
- package/dist/vite.js +3 -3
- package/dist/vite.mjs +3 -3
- package/dist/webpack.js +3 -3
- package/dist/webpack.mjs +3 -3
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var options = require('./options-
|
|
3
|
+
var options = require('./options-b3e419f1.js');
|
|
4
4
|
require('micromatch');
|
|
5
5
|
require('@babel/types');
|
|
6
6
|
require('@babel/generator');
|
|
7
7
|
require('@babel/parser');
|
|
8
8
|
require('@babel/traverse');
|
|
9
9
|
require('./replace.js');
|
|
10
|
-
require('./shared-
|
|
10
|
+
require('./shared-823d1fc1.js');
|
|
11
11
|
require('tailwindcss-mangle-shared');
|
|
12
12
|
require('postcss');
|
|
13
|
-
require('./postcss-
|
|
13
|
+
require('./postcss-06f57f3f.js');
|
|
14
14
|
require('postcss-selector-parser');
|
|
15
15
|
require('@csstools/postcss-is-pseudo-class');
|
|
16
16
|
require('node:path');
|
package/dist/cli.mjs
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { g as getOptions, c as createPatch } from './options-
|
|
1
|
+
import { g as getOptions, c as createPatch } from './options-3578215d.mjs';
|
|
2
2
|
import 'micromatch';
|
|
3
3
|
import '@babel/types';
|
|
4
4
|
import '@babel/generator';
|
|
5
5
|
import '@babel/parser';
|
|
6
6
|
import '@babel/traverse';
|
|
7
7
|
import './replace.mjs';
|
|
8
|
-
import './shared-
|
|
8
|
+
import './shared-497eda3c.mjs';
|
|
9
9
|
import 'tailwindcss-mangle-shared';
|
|
10
10
|
import 'postcss';
|
|
11
|
-
import './postcss-
|
|
11
|
+
import './postcss-564aef44.mjs';
|
|
12
12
|
import 'postcss-selector-parser';
|
|
13
13
|
import '@csstools/postcss-is-pseudo-class';
|
|
14
14
|
import 'node:path';
|
package/dist/gulp.js
CHANGED
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
var stream = require('node:stream');
|
|
6
|
-
var options = require('./options-
|
|
7
|
-
var shared = require('./shared-
|
|
6
|
+
var options = require('./options-b3e419f1.js');
|
|
7
|
+
var shared = require('./shared-823d1fc1.js');
|
|
8
8
|
require('micromatch');
|
|
9
9
|
require('@babel/types');
|
|
10
10
|
require('@babel/generator');
|
|
@@ -12,7 +12,7 @@ require('@babel/parser');
|
|
|
12
12
|
require('@babel/traverse');
|
|
13
13
|
require('./replace.js');
|
|
14
14
|
require('postcss');
|
|
15
|
-
require('./postcss-
|
|
15
|
+
require('./postcss-06f57f3f.js');
|
|
16
16
|
require('postcss-selector-parser');
|
|
17
17
|
require('@csstools/postcss-is-pseudo-class');
|
|
18
18
|
require('node:path');
|
package/dist/gulp.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import stream from 'node:stream';
|
|
2
|
-
import { g as getOptions, a as createTailwindcssPatcher } from './options-
|
|
3
|
-
import { c as initStore, d as setRuntimeSet } from './shared-
|
|
2
|
+
import { g as getOptions, a as createTailwindcssPatcher } from './options-3578215d.mjs';
|
|
3
|
+
import { c as initStore, d as setRuntimeSet } from './shared-497eda3c.mjs';
|
|
4
4
|
import 'micromatch';
|
|
5
5
|
import '@babel/types';
|
|
6
6
|
import '@babel/generator';
|
|
@@ -8,7 +8,7 @@ import '@babel/parser';
|
|
|
8
8
|
import '@babel/traverse';
|
|
9
9
|
import './replace.mjs';
|
|
10
10
|
import 'postcss';
|
|
11
|
-
import './postcss-
|
|
11
|
+
import './postcss-564aef44.mjs';
|
|
12
12
|
import 'postcss-selector-parser';
|
|
13
13
|
import '@csstools/postcss-is-pseudo-class';
|
|
14
14
|
import 'node:path';
|
package/dist/index.js
CHANGED
|
@@ -5,17 +5,17 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
var webpack = require('./webpack.js');
|
|
6
6
|
var vite = require('./vite.js');
|
|
7
7
|
var gulp = require('./gulp.js');
|
|
8
|
-
require('./options-
|
|
8
|
+
require('./options-b3e419f1.js');
|
|
9
9
|
require('micromatch');
|
|
10
10
|
require('@babel/types');
|
|
11
11
|
require('@babel/generator');
|
|
12
12
|
require('@babel/parser');
|
|
13
13
|
require('@babel/traverse');
|
|
14
14
|
require('./replace.js');
|
|
15
|
-
require('./shared-
|
|
15
|
+
require('./shared-823d1fc1.js');
|
|
16
16
|
require('tailwindcss-mangle-shared');
|
|
17
17
|
require('postcss');
|
|
18
|
-
require('./postcss-
|
|
18
|
+
require('./postcss-06f57f3f.js');
|
|
19
19
|
require('postcss-selector-parser');
|
|
20
20
|
require('@csstools/postcss-is-pseudo-class');
|
|
21
21
|
require('node:path');
|
package/dist/index.mjs
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
export { UnifiedWebpackPluginV5 } from './webpack.mjs';
|
|
2
2
|
export { UnifiedViteWeappTailwindcssPlugin } from './vite.mjs';
|
|
3
3
|
export { createPlugins } from './gulp.mjs';
|
|
4
|
-
import './options-
|
|
4
|
+
import './options-3578215d.mjs';
|
|
5
5
|
import 'micromatch';
|
|
6
6
|
import '@babel/types';
|
|
7
7
|
import '@babel/generator';
|
|
8
8
|
import '@babel/parser';
|
|
9
9
|
import '@babel/traverse';
|
|
10
10
|
import './replace.mjs';
|
|
11
|
-
import './shared-
|
|
11
|
+
import './shared-497eda3c.mjs';
|
|
12
12
|
import 'tailwindcss-mangle-shared';
|
|
13
13
|
import 'postcss';
|
|
14
|
-
import './postcss-
|
|
14
|
+
import './postcss-564aef44.mjs';
|
|
15
15
|
import 'postcss-selector-parser';
|
|
16
16
|
import '@csstools/postcss-is-pseudo-class';
|
|
17
17
|
import 'node:path';
|
|
@@ -4,9 +4,9 @@ import generate from '@babel/generator';
|
|
|
4
4
|
import { parse, parseExpression } from '@babel/parser';
|
|
5
5
|
import traverse from '@babel/traverse';
|
|
6
6
|
import { replaceJs as replaceWxml } from './replace.mjs';
|
|
7
|
-
import { s as splitCode, e as escapeStringRegexp, u as useStore, n as noop, S as SimpleMappingChars2String, m as makeCustomAttributes, t as tagWithEitherClassAndHoverClassRegexp, a as templateClassExactRegexp, v as variableMatch, b as variableRegExp, M as MappingChars2String, i as isMap } from './shared-
|
|
7
|
+
import { s as splitCode, e as escapeStringRegexp, u as useStore, n as noop, S as SimpleMappingChars2String, m as makeCustomAttributes, t as tagWithEitherClassAndHoverClassRegexp, a as templateClassExactRegexp, v as variableMatch, b as variableRegExp, M as MappingChars2String, i as isMap } from './shared-497eda3c.mjs';
|
|
8
8
|
import postcss from 'postcss';
|
|
9
|
-
import { p as postcssWeappTailwindcss } from './postcss-
|
|
9
|
+
import { p as postcssWeappTailwindcss } from './postcss-564aef44.mjs';
|
|
10
10
|
import postcssIsPseudoClass from '@csstools/postcss-is-pseudo-class';
|
|
11
11
|
import path from 'node:path';
|
|
12
12
|
import fs from 'node:fs';
|
|
@@ -6,9 +6,9 @@ var generate = require('@babel/generator');
|
|
|
6
6
|
var parser = require('@babel/parser');
|
|
7
7
|
var traverse = require('@babel/traverse');
|
|
8
8
|
var replace = require('./replace.js');
|
|
9
|
-
var shared = require('./shared-
|
|
9
|
+
var shared = require('./shared-823d1fc1.js');
|
|
10
10
|
var postcss = require('postcss');
|
|
11
|
-
var postcss$1 = require('./postcss-
|
|
11
|
+
var postcss$1 = require('./postcss-06f57f3f.js');
|
|
12
12
|
var postcssIsPseudoClass = require('@csstools/postcss-is-pseudo-class');
|
|
13
13
|
var path = require('node:path');
|
|
14
14
|
var fs = require('node:fs');
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import selectorParser from 'postcss-selector-parser';
|
|
2
|
-
import { f as internalCssSelectorReplacer } from './shared-
|
|
2
|
+
import { f as internalCssSelectorReplacer } from './shared-497eda3c.mjs';
|
|
3
3
|
import { Rule, Declaration } from 'postcss';
|
|
4
4
|
import '@csstools/postcss-is-pseudo-class';
|
|
5
5
|
|
package/dist/postcss.js
CHANGED
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var postcss = require('./postcss-
|
|
5
|
+
var postcss = require('./postcss-06f57f3f.js');
|
|
6
6
|
var postcssIsPseudoClass = require('@csstools/postcss-is-pseudo-class');
|
|
7
7
|
require('postcss-selector-parser');
|
|
8
|
-
require('./shared-
|
|
8
|
+
require('./shared-823d1fc1.js');
|
|
9
9
|
require('tailwindcss-mangle-shared');
|
|
10
10
|
require('postcss');
|
|
11
11
|
|
package/dist/postcss.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { p as postcssWeappTailwindcss } from './postcss-
|
|
1
|
+
export { p as postcssWeappTailwindcss } from './postcss-564aef44.mjs';
|
|
2
2
|
export { default as postcssIsPseudoClass } from '@csstools/postcss-is-pseudo-class';
|
|
3
3
|
import 'postcss-selector-parser';
|
|
4
|
-
import './shared-
|
|
4
|
+
import './shared-497eda3c.mjs';
|
|
5
5
|
import 'tailwindcss-mangle-shared';
|
|
6
6
|
import 'postcss';
|
package/dist/replace.js
CHANGED
package/dist/replace.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { h as escape, S as SimpleMappingChars2String, u as useStore } from './shared-
|
|
2
|
-
export { M as MappingChars2String, k as MappingChars2StringEntries, j as SYMBOL_TABLE, l as SimpleMappingChars2StringEntries, f as replaceCss } from './shared-
|
|
1
|
+
import { h as escape, S as SimpleMappingChars2String, u as useStore } from './shared-497eda3c.mjs';
|
|
2
|
+
export { M as MappingChars2String, k as MappingChars2StringEntries, j as SYMBOL_TABLE, l as SimpleMappingChars2StringEntries, f as replaceCss } from './shared-497eda3c.mjs';
|
|
3
3
|
import 'tailwindcss-mangle-shared';
|
|
4
4
|
|
|
5
5
|
function replaceWxml(original, options = {
|
|
@@ -132,7 +132,7 @@ function isValidSelector(selector = '') {
|
|
|
132
132
|
return validateFilterRE.test(selector);
|
|
133
133
|
}
|
|
134
134
|
const splitCode = (code) => {
|
|
135
|
-
return code.split(/\s
|
|
135
|
+
return code.split(/\s+|"/).filter((element) => isValidSelector(element));
|
|
136
136
|
};
|
|
137
137
|
|
|
138
138
|
function isRegexp(value) {
|
|
@@ -134,7 +134,7 @@ function isValidSelector(selector = '') {
|
|
|
134
134
|
return validateFilterRE.test(selector);
|
|
135
135
|
}
|
|
136
136
|
const splitCode = (code) => {
|
|
137
|
-
return code.split(/\s
|
|
137
|
+
return code.split(/\s+|"/).filter((element) => isValidSelector(element));
|
|
138
138
|
};
|
|
139
139
|
|
|
140
140
|
function isRegexp(value) {
|
package/dist/vite.js
CHANGED
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var options = require('./options-
|
|
6
|
-
var postcss = require('./postcss-
|
|
7
|
-
var shared = require('./shared-
|
|
5
|
+
var options = require('./options-b3e419f1.js');
|
|
6
|
+
var postcss = require('./postcss-06f57f3f.js');
|
|
7
|
+
var shared = require('./shared-823d1fc1.js');
|
|
8
8
|
require('micromatch');
|
|
9
9
|
require('@babel/types');
|
|
10
10
|
require('@babel/generator');
|
package/dist/vite.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { g as getOptions, a as createTailwindcssPatcher } from './options-
|
|
2
|
-
import { v as vitePluginName } from './postcss-
|
|
3
|
-
import { c as initStore, g as getGroupedEntries, d as setRuntimeSet } from './shared-
|
|
1
|
+
import { g as getOptions, a as createTailwindcssPatcher } from './options-3578215d.mjs';
|
|
2
|
+
import { v as vitePluginName } from './postcss-564aef44.mjs';
|
|
3
|
+
import { c as initStore, g as getGroupedEntries, d as setRuntimeSet } from './shared-497eda3c.mjs';
|
|
4
4
|
import 'micromatch';
|
|
5
5
|
import '@babel/types';
|
|
6
6
|
import '@babel/generator';
|
package/dist/webpack.js
CHANGED
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var options = require('./options-
|
|
6
|
-
var postcss = require('./postcss-
|
|
7
|
-
var shared = require('./shared-
|
|
5
|
+
var options = require('./options-b3e419f1.js');
|
|
6
|
+
var postcss = require('./postcss-06f57f3f.js');
|
|
7
|
+
var shared = require('./shared-823d1fc1.js');
|
|
8
8
|
require('micromatch');
|
|
9
9
|
require('@babel/types');
|
|
10
10
|
require('@babel/generator');
|
package/dist/webpack.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { g as getOptions, a as createTailwindcssPatcher } from './options-
|
|
2
|
-
import { a as pluginName, N as NS } from './postcss-
|
|
3
|
-
import { c as initStore, g as getGroupedEntries, d as setRuntimeSet } from './shared-
|
|
1
|
+
import { g as getOptions, a as createTailwindcssPatcher } from './options-3578215d.mjs';
|
|
2
|
+
import { a as pluginName, N as NS } from './postcss-564aef44.mjs';
|
|
3
|
+
import { c as initStore, g as getGroupedEntries, d as setRuntimeSet } from './shared-497eda3c.mjs';
|
|
4
4
|
import 'micromatch';
|
|
5
5
|
import '@babel/types';
|
|
6
6
|
import '@babel/generator';
|
package/package.json
CHANGED