unplugin-tailwindcss-mangle 5.1.0 → 5.1.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/chunk-5TU3BRLY.js +204 -0
- package/dist/chunk-A24OOU3C.cjs +201 -0
- package/dist/esbuild.cjs +2 -2
- package/dist/esbuild.js +1 -1
- package/dist/index.cjs +2 -2
- package/dist/index.js +1 -1
- package/dist/nuxt.cjs +3 -3
- package/dist/nuxt.js +1 -1
- package/dist/rollup.cjs +2 -2
- package/dist/rollup.js +1 -1
- package/dist/vite.cjs +2 -2
- package/dist/vite.js +1 -1
- package/dist/webpack.cjs +2 -2
- package/dist/webpack.js +1 -1
- package/package.json +12 -5
- package/dist/chunk-4GIK4Z2J.cjs +0 -148
- package/dist/chunk-5RVUE77A.js +0 -151
|
@@ -0,0 +1,204 @@
|
|
|
1
|
+
import {
|
|
2
|
+
getGroupedEntries,
|
|
3
|
+
pluginName,
|
|
4
|
+
posix
|
|
5
|
+
} from "./chunk-TVEX3BIF.js";
|
|
6
|
+
import {
|
|
7
|
+
__dirname
|
|
8
|
+
} from "./chunk-YMEGC4U6.js";
|
|
9
|
+
|
|
10
|
+
// src/core/plugin.ts
|
|
11
|
+
import { createUnplugin } from "unplugin";
|
|
12
|
+
|
|
13
|
+
// src/core/factory.ts
|
|
14
|
+
import { createFilter } from "@rollup/pluginutils";
|
|
15
|
+
import { Context, cssHandler, htmlHandler, jsHandler, svelteHandler, vueHandler } from "@tailwindcss-mangle/core";
|
|
16
|
+
import { isCSSRequest } from "is-css-request";
|
|
17
|
+
var WEBPACK_LOADER = posix.resolve(__dirname, false ? "../../dist/loader.cjs" : "./loader.cjs");
|
|
18
|
+
var JS_LIKE_EXTENSIONS = /* @__PURE__ */ new Set([".js", ".cjs", ".mjs", ".ts", ".cts", ".mts", ".jsx", ".tsx"]);
|
|
19
|
+
var HTML_LIKE_EXTENSIONS = /* @__PURE__ */ new Set([".html", ".htm"]);
|
|
20
|
+
var CSS_LIKE_LANGS = /* @__PURE__ */ new Set(["css", "less", "sass", "scss", "styl", "stylus", "pcss", "postcss", "sss"]);
|
|
21
|
+
var JS_LIKE_LANGS = /* @__PURE__ */ new Set(["js", "cjs", "mjs", "ts", "cts", "mts", "jsx", "tsx"]);
|
|
22
|
+
var HTML_LIKE_LANGS = /* @__PURE__ */ new Set(["html", "htm"]);
|
|
23
|
+
function normalizeLang(rawLang) {
|
|
24
|
+
if (!rawLang) {
|
|
25
|
+
return "";
|
|
26
|
+
}
|
|
27
|
+
return rawLang.toLowerCase().replace(/^\./, "");
|
|
28
|
+
}
|
|
29
|
+
function isLikelyMarkup(code) {
|
|
30
|
+
return /<[a-z][\w:-]*(?:\s|>)/i.test(code);
|
|
31
|
+
}
|
|
32
|
+
function isHtmlFileRequest(id) {
|
|
33
|
+
const cleanId = id.split("?")[0] ?? id;
|
|
34
|
+
const ext = posix.extname(cleanId).toLowerCase();
|
|
35
|
+
return HTML_LIKE_EXTENSIONS.has(ext);
|
|
36
|
+
}
|
|
37
|
+
function resolveTransformKind(id, code) {
|
|
38
|
+
if (isCSSRequest(id)) {
|
|
39
|
+
return "css";
|
|
40
|
+
}
|
|
41
|
+
const cleanId = id.split("?")[0] ?? id;
|
|
42
|
+
const ext = posix.extname(cleanId).toLowerCase();
|
|
43
|
+
const query = id.includes("?") ? id.slice(id.indexOf("?") + 1) : "";
|
|
44
|
+
const params = new URLSearchParams(query);
|
|
45
|
+
const type = params.get("type")?.toLowerCase();
|
|
46
|
+
const lang = normalizeLang(params.get("lang"));
|
|
47
|
+
if (type === "style") {
|
|
48
|
+
return "css";
|
|
49
|
+
}
|
|
50
|
+
if (type === "script") {
|
|
51
|
+
return "js";
|
|
52
|
+
}
|
|
53
|
+
if (type === "template") {
|
|
54
|
+
if (lang && JS_LIKE_LANGS.has(lang)) {
|
|
55
|
+
return "js";
|
|
56
|
+
}
|
|
57
|
+
if (lang && HTML_LIKE_LANGS.has(lang)) {
|
|
58
|
+
return "html";
|
|
59
|
+
}
|
|
60
|
+
return isLikelyMarkup(code) ? "html" : "js";
|
|
61
|
+
}
|
|
62
|
+
if (lang) {
|
|
63
|
+
if (CSS_LIKE_LANGS.has(lang)) {
|
|
64
|
+
return "css";
|
|
65
|
+
}
|
|
66
|
+
if (JS_LIKE_LANGS.has(lang)) {
|
|
67
|
+
return "js";
|
|
68
|
+
}
|
|
69
|
+
if (HTML_LIKE_LANGS.has(lang)) {
|
|
70
|
+
return "html";
|
|
71
|
+
}
|
|
72
|
+
if (lang === "vue") {
|
|
73
|
+
return "vue";
|
|
74
|
+
}
|
|
75
|
+
if (lang === "svelte") {
|
|
76
|
+
return "svelte";
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
if (ext === ".vue") {
|
|
80
|
+
return "vue";
|
|
81
|
+
}
|
|
82
|
+
if (ext === ".svelte") {
|
|
83
|
+
return "svelte";
|
|
84
|
+
}
|
|
85
|
+
if (HTML_LIKE_EXTENSIONS.has(ext)) {
|
|
86
|
+
return "html";
|
|
87
|
+
}
|
|
88
|
+
if (JS_LIKE_EXTENSIONS.has(ext)) {
|
|
89
|
+
return "js";
|
|
90
|
+
}
|
|
91
|
+
return isLikelyMarkup(code) ? "html" : "js";
|
|
92
|
+
}
|
|
93
|
+
var factory = (options) => {
|
|
94
|
+
const ctx = new Context();
|
|
95
|
+
let filter = createFilter(options?.sources?.include, options?.sources?.exclude);
|
|
96
|
+
return [
|
|
97
|
+
{
|
|
98
|
+
name: `${pluginName}:pre`,
|
|
99
|
+
enforce: "pre",
|
|
100
|
+
async buildStart() {
|
|
101
|
+
const initOptions = options === void 0 ? {} : { transformerOptions: options };
|
|
102
|
+
await ctx.initConfig(initOptions);
|
|
103
|
+
filter = createFilter(ctx.options.sources?.include, ctx.options.sources?.exclude);
|
|
104
|
+
}
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
name: `${pluginName}`,
|
|
108
|
+
transformInclude(id) {
|
|
109
|
+
const cleanId = id.split("?")[0] ?? id;
|
|
110
|
+
if (isHtmlFileRequest(cleanId)) {
|
|
111
|
+
return false;
|
|
112
|
+
}
|
|
113
|
+
return filter(cleanId);
|
|
114
|
+
},
|
|
115
|
+
async transform(code, id) {
|
|
116
|
+
const opts = {
|
|
117
|
+
ctx,
|
|
118
|
+
id
|
|
119
|
+
};
|
|
120
|
+
const kind = resolveTransformKind(id, code);
|
|
121
|
+
const framework = this.getNativeBuildContext?.().framework;
|
|
122
|
+
if ((framework === "webpack" || framework === "rspack") && kind === "html" && isHtmlFileRequest(id)) {
|
|
123
|
+
return null;
|
|
124
|
+
}
|
|
125
|
+
switch (kind) {
|
|
126
|
+
case "css":
|
|
127
|
+
return await cssHandler(code, opts);
|
|
128
|
+
case "vue":
|
|
129
|
+
return await vueHandler(code, opts);
|
|
130
|
+
case "svelte":
|
|
131
|
+
return await svelteHandler(code, opts);
|
|
132
|
+
case "html":
|
|
133
|
+
return htmlHandler(code, opts);
|
|
134
|
+
case "js":
|
|
135
|
+
default:
|
|
136
|
+
return jsHandler(code, opts);
|
|
137
|
+
}
|
|
138
|
+
},
|
|
139
|
+
webpack(compiler) {
|
|
140
|
+
const { NormalModule } = compiler.webpack;
|
|
141
|
+
compiler.hooks.compilation.tap(pluginName, (compilation) => {
|
|
142
|
+
NormalModule.getCompilationHooks(compilation).loader.tap(pluginName, (_loaderContext, module) => {
|
|
143
|
+
const idx = module.loaders.findIndex((x) => x.loader.includes("postcss-loader"));
|
|
144
|
+
if (idx > -1) {
|
|
145
|
+
module.loaders.splice(idx, 0, {
|
|
146
|
+
loader: WEBPACK_LOADER,
|
|
147
|
+
ident: null,
|
|
148
|
+
options: {
|
|
149
|
+
ctx
|
|
150
|
+
},
|
|
151
|
+
type: null
|
|
152
|
+
});
|
|
153
|
+
}
|
|
154
|
+
});
|
|
155
|
+
});
|
|
156
|
+
}
|
|
157
|
+
},
|
|
158
|
+
{
|
|
159
|
+
name: `${pluginName}:post`,
|
|
160
|
+
enforce: "post",
|
|
161
|
+
vite: {
|
|
162
|
+
transformIndexHtml(html) {
|
|
163
|
+
const { code } = htmlHandler(html, { ctx });
|
|
164
|
+
return code;
|
|
165
|
+
}
|
|
166
|
+
},
|
|
167
|
+
webpack(compiler) {
|
|
168
|
+
const { Compilation, sources } = compiler.webpack;
|
|
169
|
+
const { ConcatSource } = sources;
|
|
170
|
+
compiler.hooks.compilation.tap(pluginName, (compilation) => {
|
|
171
|
+
compilation.hooks.processAssets.tapPromise(
|
|
172
|
+
{
|
|
173
|
+
name: pluginName,
|
|
174
|
+
stage: Compilation.PROCESS_ASSETS_STAGE_SUMMARIZE
|
|
175
|
+
},
|
|
176
|
+
async (assets) => {
|
|
177
|
+
const groupedEntries = getGroupedEntries(Object.entries(assets));
|
|
178
|
+
for (const [id, cssSource] of groupedEntries.css) {
|
|
179
|
+
const { code } = await cssHandler(cssSource.source().toString(), {
|
|
180
|
+
id,
|
|
181
|
+
ctx
|
|
182
|
+
});
|
|
183
|
+
const source = new ConcatSource(code);
|
|
184
|
+
compilation.updateAsset(id, source);
|
|
185
|
+
}
|
|
186
|
+
}
|
|
187
|
+
);
|
|
188
|
+
});
|
|
189
|
+
},
|
|
190
|
+
writeBundle() {
|
|
191
|
+
ctx.dump();
|
|
192
|
+
}
|
|
193
|
+
}
|
|
194
|
+
];
|
|
195
|
+
};
|
|
196
|
+
var factory_default = factory;
|
|
197
|
+
|
|
198
|
+
// src/core/plugin.ts
|
|
199
|
+
var unplugin = createUnplugin(factory_default);
|
|
200
|
+
var plugin_default = unplugin;
|
|
201
|
+
|
|
202
|
+
export {
|
|
203
|
+
plugin_default
|
|
204
|
+
};
|
|
@@ -0,0 +1,201 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
var _chunkQGD6AWGRcjs = require('./chunk-QGD6AWGR.cjs');
|
|
6
|
+
|
|
7
|
+
// src/core/plugin.ts
|
|
8
|
+
var _unplugin = require('unplugin');
|
|
9
|
+
|
|
10
|
+
// src/core/factory.ts
|
|
11
|
+
var _pluginutils = require('@rollup/pluginutils');
|
|
12
|
+
var _core = require('@tailwindcss-mangle/core');
|
|
13
|
+
var _iscssrequest = require('is-css-request');
|
|
14
|
+
var WEBPACK_LOADER = _chunkQGD6AWGRcjs.posix.resolve(__dirname, false ? "../../dist/loader.cjs" : "./loader.cjs");
|
|
15
|
+
var JS_LIKE_EXTENSIONS = /* @__PURE__ */ new Set([".js", ".cjs", ".mjs", ".ts", ".cts", ".mts", ".jsx", ".tsx"]);
|
|
16
|
+
var HTML_LIKE_EXTENSIONS = /* @__PURE__ */ new Set([".html", ".htm"]);
|
|
17
|
+
var CSS_LIKE_LANGS = /* @__PURE__ */ new Set(["css", "less", "sass", "scss", "styl", "stylus", "pcss", "postcss", "sss"]);
|
|
18
|
+
var JS_LIKE_LANGS = /* @__PURE__ */ new Set(["js", "cjs", "mjs", "ts", "cts", "mts", "jsx", "tsx"]);
|
|
19
|
+
var HTML_LIKE_LANGS = /* @__PURE__ */ new Set(["html", "htm"]);
|
|
20
|
+
function normalizeLang(rawLang) {
|
|
21
|
+
if (!rawLang) {
|
|
22
|
+
return "";
|
|
23
|
+
}
|
|
24
|
+
return rawLang.toLowerCase().replace(/^\./, "");
|
|
25
|
+
}
|
|
26
|
+
function isLikelyMarkup(code) {
|
|
27
|
+
return /<[a-z][\w:-]*(?:\s|>)/i.test(code);
|
|
28
|
+
}
|
|
29
|
+
function isHtmlFileRequest(id) {
|
|
30
|
+
const cleanId = _nullishCoalesce(id.split("?")[0], () => ( id));
|
|
31
|
+
const ext = _chunkQGD6AWGRcjs.posix.extname(cleanId).toLowerCase();
|
|
32
|
+
return HTML_LIKE_EXTENSIONS.has(ext);
|
|
33
|
+
}
|
|
34
|
+
function resolveTransformKind(id, code) {
|
|
35
|
+
if (_iscssrequest.isCSSRequest.call(void 0, id)) {
|
|
36
|
+
return "css";
|
|
37
|
+
}
|
|
38
|
+
const cleanId = _nullishCoalesce(id.split("?")[0], () => ( id));
|
|
39
|
+
const ext = _chunkQGD6AWGRcjs.posix.extname(cleanId).toLowerCase();
|
|
40
|
+
const query = id.includes("?") ? id.slice(id.indexOf("?") + 1) : "";
|
|
41
|
+
const params = new URLSearchParams(query);
|
|
42
|
+
const type = _optionalChain([params, 'access', _ => _.get, 'call', _2 => _2("type"), 'optionalAccess', _3 => _3.toLowerCase, 'call', _4 => _4()]);
|
|
43
|
+
const lang = normalizeLang(params.get("lang"));
|
|
44
|
+
if (type === "style") {
|
|
45
|
+
return "css";
|
|
46
|
+
}
|
|
47
|
+
if (type === "script") {
|
|
48
|
+
return "js";
|
|
49
|
+
}
|
|
50
|
+
if (type === "template") {
|
|
51
|
+
if (lang && JS_LIKE_LANGS.has(lang)) {
|
|
52
|
+
return "js";
|
|
53
|
+
}
|
|
54
|
+
if (lang && HTML_LIKE_LANGS.has(lang)) {
|
|
55
|
+
return "html";
|
|
56
|
+
}
|
|
57
|
+
return isLikelyMarkup(code) ? "html" : "js";
|
|
58
|
+
}
|
|
59
|
+
if (lang) {
|
|
60
|
+
if (CSS_LIKE_LANGS.has(lang)) {
|
|
61
|
+
return "css";
|
|
62
|
+
}
|
|
63
|
+
if (JS_LIKE_LANGS.has(lang)) {
|
|
64
|
+
return "js";
|
|
65
|
+
}
|
|
66
|
+
if (HTML_LIKE_LANGS.has(lang)) {
|
|
67
|
+
return "html";
|
|
68
|
+
}
|
|
69
|
+
if (lang === "vue") {
|
|
70
|
+
return "vue";
|
|
71
|
+
}
|
|
72
|
+
if (lang === "svelte") {
|
|
73
|
+
return "svelte";
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
if (ext === ".vue") {
|
|
77
|
+
return "vue";
|
|
78
|
+
}
|
|
79
|
+
if (ext === ".svelte") {
|
|
80
|
+
return "svelte";
|
|
81
|
+
}
|
|
82
|
+
if (HTML_LIKE_EXTENSIONS.has(ext)) {
|
|
83
|
+
return "html";
|
|
84
|
+
}
|
|
85
|
+
if (JS_LIKE_EXTENSIONS.has(ext)) {
|
|
86
|
+
return "js";
|
|
87
|
+
}
|
|
88
|
+
return isLikelyMarkup(code) ? "html" : "js";
|
|
89
|
+
}
|
|
90
|
+
var factory = (options) => {
|
|
91
|
+
const ctx = new (0, _core.Context)();
|
|
92
|
+
let filter = _pluginutils.createFilter.call(void 0, _optionalChain([options, 'optionalAccess', _5 => _5.sources, 'optionalAccess', _6 => _6.include]), _optionalChain([options, 'optionalAccess', _7 => _7.sources, 'optionalAccess', _8 => _8.exclude]));
|
|
93
|
+
return [
|
|
94
|
+
{
|
|
95
|
+
name: `${_chunkQGD6AWGRcjs.pluginName}:pre`,
|
|
96
|
+
enforce: "pre",
|
|
97
|
+
async buildStart() {
|
|
98
|
+
const initOptions = options === void 0 ? {} : { transformerOptions: options };
|
|
99
|
+
await ctx.initConfig(initOptions);
|
|
100
|
+
filter = _pluginutils.createFilter.call(void 0, _optionalChain([ctx, 'access', _9 => _9.options, 'access', _10 => _10.sources, 'optionalAccess', _11 => _11.include]), _optionalChain([ctx, 'access', _12 => _12.options, 'access', _13 => _13.sources, 'optionalAccess', _14 => _14.exclude]));
|
|
101
|
+
}
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
name: `${_chunkQGD6AWGRcjs.pluginName}`,
|
|
105
|
+
transformInclude(id) {
|
|
106
|
+
const cleanId = _nullishCoalesce(id.split("?")[0], () => ( id));
|
|
107
|
+
if (isHtmlFileRequest(cleanId)) {
|
|
108
|
+
return false;
|
|
109
|
+
}
|
|
110
|
+
return filter(cleanId);
|
|
111
|
+
},
|
|
112
|
+
async transform(code, id) {
|
|
113
|
+
const opts = {
|
|
114
|
+
ctx,
|
|
115
|
+
id
|
|
116
|
+
};
|
|
117
|
+
const kind = resolveTransformKind(id, code);
|
|
118
|
+
const framework = _optionalChain([this, 'access', _15 => _15.getNativeBuildContext, 'optionalCall', _16 => _16(), 'access', _17 => _17.framework]);
|
|
119
|
+
if ((framework === "webpack" || framework === "rspack") && kind === "html" && isHtmlFileRequest(id)) {
|
|
120
|
+
return null;
|
|
121
|
+
}
|
|
122
|
+
switch (kind) {
|
|
123
|
+
case "css":
|
|
124
|
+
return await _core.cssHandler.call(void 0, code, opts);
|
|
125
|
+
case "vue":
|
|
126
|
+
return await _core.vueHandler.call(void 0, code, opts);
|
|
127
|
+
case "svelte":
|
|
128
|
+
return await _core.svelteHandler.call(void 0, code, opts);
|
|
129
|
+
case "html":
|
|
130
|
+
return _core.htmlHandler.call(void 0, code, opts);
|
|
131
|
+
case "js":
|
|
132
|
+
default:
|
|
133
|
+
return _core.jsHandler.call(void 0, code, opts);
|
|
134
|
+
}
|
|
135
|
+
},
|
|
136
|
+
webpack(compiler) {
|
|
137
|
+
const { NormalModule } = compiler.webpack;
|
|
138
|
+
compiler.hooks.compilation.tap(_chunkQGD6AWGRcjs.pluginName, (compilation) => {
|
|
139
|
+
NormalModule.getCompilationHooks(compilation).loader.tap(_chunkQGD6AWGRcjs.pluginName, (_loaderContext, module) => {
|
|
140
|
+
const idx = module.loaders.findIndex((x) => x.loader.includes("postcss-loader"));
|
|
141
|
+
if (idx > -1) {
|
|
142
|
+
module.loaders.splice(idx, 0, {
|
|
143
|
+
loader: WEBPACK_LOADER,
|
|
144
|
+
ident: null,
|
|
145
|
+
options: {
|
|
146
|
+
ctx
|
|
147
|
+
},
|
|
148
|
+
type: null
|
|
149
|
+
});
|
|
150
|
+
}
|
|
151
|
+
});
|
|
152
|
+
});
|
|
153
|
+
}
|
|
154
|
+
},
|
|
155
|
+
{
|
|
156
|
+
name: `${_chunkQGD6AWGRcjs.pluginName}:post`,
|
|
157
|
+
enforce: "post",
|
|
158
|
+
vite: {
|
|
159
|
+
transformIndexHtml(html) {
|
|
160
|
+
const { code } = _core.htmlHandler.call(void 0, html, { ctx });
|
|
161
|
+
return code;
|
|
162
|
+
}
|
|
163
|
+
},
|
|
164
|
+
webpack(compiler) {
|
|
165
|
+
const { Compilation, sources } = compiler.webpack;
|
|
166
|
+
const { ConcatSource } = sources;
|
|
167
|
+
compiler.hooks.compilation.tap(_chunkQGD6AWGRcjs.pluginName, (compilation) => {
|
|
168
|
+
compilation.hooks.processAssets.tapPromise(
|
|
169
|
+
{
|
|
170
|
+
name: _chunkQGD6AWGRcjs.pluginName,
|
|
171
|
+
stage: Compilation.PROCESS_ASSETS_STAGE_SUMMARIZE
|
|
172
|
+
},
|
|
173
|
+
async (assets) => {
|
|
174
|
+
const groupedEntries = _chunkQGD6AWGRcjs.getGroupedEntries.call(void 0, Object.entries(assets));
|
|
175
|
+
for (const [id, cssSource] of groupedEntries.css) {
|
|
176
|
+
const { code } = await _core.cssHandler.call(void 0, cssSource.source().toString(), {
|
|
177
|
+
id,
|
|
178
|
+
ctx
|
|
179
|
+
});
|
|
180
|
+
const source = new ConcatSource(code);
|
|
181
|
+
compilation.updateAsset(id, source);
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
);
|
|
185
|
+
});
|
|
186
|
+
},
|
|
187
|
+
writeBundle() {
|
|
188
|
+
ctx.dump();
|
|
189
|
+
}
|
|
190
|
+
}
|
|
191
|
+
];
|
|
192
|
+
};
|
|
193
|
+
var factory_default = factory;
|
|
194
|
+
|
|
195
|
+
// src/core/plugin.ts
|
|
196
|
+
var unplugin = _unplugin.createUnplugin.call(void 0, factory_default);
|
|
197
|
+
var plugin_default = unplugin;
|
|
198
|
+
|
|
199
|
+
|
|
200
|
+
|
|
201
|
+
exports.plugin_default = plugin_default;
|
package/dist/esbuild.cjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkA24OOU3Ccjs = require('./chunk-A24OOU3C.cjs');
|
|
4
4
|
require('./chunk-QGD6AWGR.cjs');
|
|
5
5
|
|
|
6
6
|
// src/esbuild.ts
|
|
7
|
-
var esbuild_default =
|
|
7
|
+
var esbuild_default = _chunkA24OOU3Ccjs.plugin_default.esbuild;
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
exports.default = esbuild_default;
|
package/dist/esbuild.js
CHANGED
package/dist/index.cjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkA24OOU3Ccjs = require('./chunk-A24OOU3C.cjs');
|
|
4
4
|
require('./chunk-QGD6AWGR.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
exports.default =
|
|
7
|
+
exports.default = _chunkA24OOU3Ccjs.plugin_default;
|
|
8
8
|
|
|
9
9
|
module.exports = exports.default;
|
package/dist/index.js
CHANGED
package/dist/nuxt.cjs
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkA24OOU3Ccjs = require('./chunk-A24OOU3C.cjs');
|
|
4
4
|
require('./chunk-QGD6AWGR.cjs');
|
|
5
5
|
|
|
6
6
|
// src/nuxt.ts
|
|
7
7
|
function nuxt_default(options = {}, nuxt) {
|
|
8
8
|
nuxt.hook("webpack:config", (config) => {
|
|
9
9
|
config.plugins = config.plugins || [];
|
|
10
|
-
config.plugins.unshift(
|
|
10
|
+
config.plugins.unshift(_chunkA24OOU3Ccjs.plugin_default.webpack(options));
|
|
11
11
|
});
|
|
12
12
|
nuxt.hook("vite:extendConfig", (config) => {
|
|
13
13
|
config.plugins = config.plugins || [];
|
|
14
|
-
config.plugins.push(
|
|
14
|
+
config.plugins.push(_chunkA24OOU3Ccjs.plugin_default.vite(options));
|
|
15
15
|
});
|
|
16
16
|
}
|
|
17
17
|
|
package/dist/nuxt.js
CHANGED
package/dist/rollup.cjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkA24OOU3Ccjs = require('./chunk-A24OOU3C.cjs');
|
|
4
4
|
require('./chunk-QGD6AWGR.cjs');
|
|
5
5
|
|
|
6
6
|
// src/rollup.ts
|
|
7
|
-
var rollup_default =
|
|
7
|
+
var rollup_default = _chunkA24OOU3Ccjs.plugin_default.rollup;
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
exports.default = rollup_default;
|
package/dist/rollup.js
CHANGED
package/dist/vite.cjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkA24OOU3Ccjs = require('./chunk-A24OOU3C.cjs');
|
|
4
4
|
require('./chunk-QGD6AWGR.cjs');
|
|
5
5
|
|
|
6
6
|
// src/vite.ts
|
|
7
|
-
var vite_default =
|
|
7
|
+
var vite_default = _chunkA24OOU3Ccjs.plugin_default.vite;
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
exports.default = vite_default;
|
package/dist/vite.js
CHANGED
package/dist/webpack.cjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkA24OOU3Ccjs = require('./chunk-A24OOU3C.cjs');
|
|
4
4
|
require('./chunk-QGD6AWGR.cjs');
|
|
5
5
|
|
|
6
6
|
// src/webpack.ts
|
|
7
|
-
var webpack_default =
|
|
7
|
+
var webpack_default = _chunkA24OOU3Ccjs.plugin_default.webpack;
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
exports.default = webpack_default;
|
package/dist/webpack.js
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "unplugin-tailwindcss-mangle",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "5.1.
|
|
4
|
+
"version": "5.1.1",
|
|
5
5
|
"description": "mangle tailwindcss utilities class plugin. support vite and webpack!",
|
|
6
6
|
"author": "ice breaker <1324318532@qq.com>",
|
|
7
7
|
"license": "MIT",
|
|
@@ -48,6 +48,11 @@
|
|
|
48
48
|
"import": "./dist/esbuild.js",
|
|
49
49
|
"require": "./dist/esbuild.cjs"
|
|
50
50
|
},
|
|
51
|
+
"./nuxt": {
|
|
52
|
+
"types": "./dist/nuxt.d.ts",
|
|
53
|
+
"import": "./dist/nuxt.js",
|
|
54
|
+
"require": "./dist/nuxt.cjs"
|
|
55
|
+
},
|
|
51
56
|
"./*": "./*"
|
|
52
57
|
},
|
|
53
58
|
"main": "./dist/index.cjs",
|
|
@@ -69,9 +74,9 @@
|
|
|
69
74
|
"is-css-request": "^1.0.1",
|
|
70
75
|
"magic-string": "^0.30.21",
|
|
71
76
|
"unplugin": "^3.0.0",
|
|
72
|
-
"@tailwindcss-mangle/config": "^6.1.
|
|
73
|
-
"@tailwindcss-mangle/core": "^5.1.
|
|
74
|
-
"@tailwindcss-mangle/shared": "^4.1.
|
|
77
|
+
"@tailwindcss-mangle/config": "^6.1.2",
|
|
78
|
+
"@tailwindcss-mangle/core": "^5.1.1",
|
|
79
|
+
"@tailwindcss-mangle/shared": "^4.1.2"
|
|
75
80
|
},
|
|
76
81
|
"publishConfig": {
|
|
77
82
|
"access": "public",
|
|
@@ -81,6 +86,8 @@
|
|
|
81
86
|
"dev": "tsup --watch --sourcemap",
|
|
82
87
|
"build": "tsup",
|
|
83
88
|
"test": "vitest run --coverage.enabled",
|
|
84
|
-
"test:dev": "vitest"
|
|
89
|
+
"test:dev": "vitest",
|
|
90
|
+
"test:e2e": "TWM_APPS_E2E=1 vitest run test/apps.e2e.test.ts",
|
|
91
|
+
"test:e2e:pw": "TWM_APPS_E2E_PLAYWRIGHT=1 vitest run test/apps.playwright.e2e.test.ts"
|
|
85
92
|
}
|
|
86
93
|
}
|
package/dist/chunk-4GIK4Z2J.cjs
DELETED
|
@@ -1,148 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
var _chunkQGD6AWGRcjs = require('./chunk-QGD6AWGR.cjs');
|
|
6
|
-
|
|
7
|
-
// src/core/plugin.ts
|
|
8
|
-
var _unplugin = require('unplugin');
|
|
9
|
-
|
|
10
|
-
// src/core/factory.ts
|
|
11
|
-
var _pluginutils = require('@rollup/pluginutils');
|
|
12
|
-
var _core = require('@tailwindcss-mangle/core');
|
|
13
|
-
var _iscssrequest = require('is-css-request');
|
|
14
|
-
var WEBPACK_LOADER = _chunkQGD6AWGRcjs.posix.resolve(__dirname, false ? "../../dist/loader.cjs" : "./loader.cjs");
|
|
15
|
-
var factory = (options) => {
|
|
16
|
-
const ctx = new (0, _core.Context)();
|
|
17
|
-
let filter = (_id) => true;
|
|
18
|
-
return [
|
|
19
|
-
{
|
|
20
|
-
name: `${_chunkQGD6AWGRcjs.pluginName}:pre`,
|
|
21
|
-
enforce: "pre",
|
|
22
|
-
async buildStart() {
|
|
23
|
-
const initOptions = options === void 0 ? {} : { transformerOptions: options };
|
|
24
|
-
await ctx.initConfig(initOptions);
|
|
25
|
-
filter = _pluginutils.createFilter.call(void 0, _optionalChain([ctx, 'access', _ => _.options, 'access', _2 => _2.sources, 'optionalAccess', _3 => _3.include]), _optionalChain([ctx, 'access', _4 => _4.options, 'access', _5 => _5.sources, 'optionalAccess', _6 => _6.exclude]));
|
|
26
|
-
}
|
|
27
|
-
},
|
|
28
|
-
{
|
|
29
|
-
name: `${_chunkQGD6AWGRcjs.pluginName}`,
|
|
30
|
-
transformInclude(id) {
|
|
31
|
-
return filter(id);
|
|
32
|
-
},
|
|
33
|
-
async transform(code, id) {
|
|
34
|
-
const opts = {
|
|
35
|
-
ctx,
|
|
36
|
-
id
|
|
37
|
-
};
|
|
38
|
-
if (/\.[cm]?[jt]sx?(?:$|\?)/.test(id)) {
|
|
39
|
-
return _core.jsHandler.call(void 0, code, opts);
|
|
40
|
-
} else if (/\.vue(?:$|\?)/.test(id)) {
|
|
41
|
-
if (_iscssrequest.isCSSRequest.call(void 0, id)) {
|
|
42
|
-
return await _core.cssHandler.call(void 0, code, opts);
|
|
43
|
-
} else {
|
|
44
|
-
return await _core.vueHandler.call(void 0, code, opts);
|
|
45
|
-
}
|
|
46
|
-
} else if (/\.svelte(?:$|\?)/.test(id)) {
|
|
47
|
-
if (_iscssrequest.isCSSRequest.call(void 0, id)) {
|
|
48
|
-
return await _core.cssHandler.call(void 0, code, opts);
|
|
49
|
-
} else {
|
|
50
|
-
return await _core.svelteHandler.call(void 0, code, opts);
|
|
51
|
-
}
|
|
52
|
-
} else if (_iscssrequest.isCSSRequest.call(void 0, id)) {
|
|
53
|
-
return await _core.cssHandler.call(void 0, code, opts);
|
|
54
|
-
} else if (/\.html?/.test(id)) {
|
|
55
|
-
return _core.htmlHandler.call(void 0, code, opts);
|
|
56
|
-
}
|
|
57
|
-
},
|
|
58
|
-
webpack(compiler) {
|
|
59
|
-
const { NormalModule } = compiler.webpack;
|
|
60
|
-
const isExisted = true;
|
|
61
|
-
compiler.hooks.compilation.tap(_chunkQGD6AWGRcjs.pluginName, (compilation) => {
|
|
62
|
-
NormalModule.getCompilationHooks(compilation).loader.tap(_chunkQGD6AWGRcjs.pluginName, (_loaderContext, module) => {
|
|
63
|
-
if (isExisted) {
|
|
64
|
-
const idx = module.loaders.findIndex((x) => x.loader.includes("postcss-loader"));
|
|
65
|
-
if (idx > -1) {
|
|
66
|
-
module.loaders.splice(idx, 0, {
|
|
67
|
-
loader: WEBPACK_LOADER,
|
|
68
|
-
ident: null,
|
|
69
|
-
options: {
|
|
70
|
-
ctx
|
|
71
|
-
},
|
|
72
|
-
type: null
|
|
73
|
-
});
|
|
74
|
-
}
|
|
75
|
-
}
|
|
76
|
-
});
|
|
77
|
-
});
|
|
78
|
-
}
|
|
79
|
-
},
|
|
80
|
-
{
|
|
81
|
-
name: `${_chunkQGD6AWGRcjs.pluginName}:post`,
|
|
82
|
-
enforce: "post",
|
|
83
|
-
vite: {
|
|
84
|
-
transformIndexHtml(html) {
|
|
85
|
-
const { code } = _core.htmlHandler.call(void 0, html, { ctx });
|
|
86
|
-
return code;
|
|
87
|
-
}
|
|
88
|
-
// generateBundle: {
|
|
89
|
-
// async handler(options, bundle) {
|
|
90
|
-
// const groupedEntries = getGroupedEntries(Object.entries(bundle))
|
|
91
|
-
// if (Array.isArray(groupedEntries.css) && groupedEntries.css.length > 0) {
|
|
92
|
-
// for (let i = 0; i < groupedEntries.css.length; i++) {
|
|
93
|
-
// const [id, cssSource] = groupedEntries.css[i] as [string, OutputAsset]
|
|
94
|
-
// const { code } = await cssHandler(cssSource.source.toString(), {
|
|
95
|
-
// id,
|
|
96
|
-
// ctx,
|
|
97
|
-
// })
|
|
98
|
-
// cssSource.source = code
|
|
99
|
-
// }
|
|
100
|
-
// }
|
|
101
|
-
// },
|
|
102
|
-
// },
|
|
103
|
-
},
|
|
104
|
-
webpack(compiler) {
|
|
105
|
-
const { Compilation, sources } = compiler.webpack;
|
|
106
|
-
const { ConcatSource } = sources;
|
|
107
|
-
compiler.hooks.compilation.tap(_chunkQGD6AWGRcjs.pluginName, (compilation) => {
|
|
108
|
-
compilation.hooks.processAssets.tapPromise(
|
|
109
|
-
{
|
|
110
|
-
name: _chunkQGD6AWGRcjs.pluginName,
|
|
111
|
-
stage: Compilation.PROCESS_ASSETS_STAGE_SUMMARIZE
|
|
112
|
-
},
|
|
113
|
-
async (assets) => {
|
|
114
|
-
const groupedEntries = _chunkQGD6AWGRcjs.getGroupedEntries.call(void 0, Object.entries(assets));
|
|
115
|
-
if (groupedEntries.css.length > 0) {
|
|
116
|
-
for (let i = 0; i < groupedEntries.css.length; i++) {
|
|
117
|
-
const entry = groupedEntries.css[i];
|
|
118
|
-
if (!entry) {
|
|
119
|
-
continue;
|
|
120
|
-
}
|
|
121
|
-
const [id, cssSource] = entry;
|
|
122
|
-
const { code } = await _core.cssHandler.call(void 0, cssSource.source().toString(), {
|
|
123
|
-
id,
|
|
124
|
-
ctx
|
|
125
|
-
});
|
|
126
|
-
const source = new ConcatSource(code);
|
|
127
|
-
compilation.updateAsset(id, source);
|
|
128
|
-
}
|
|
129
|
-
}
|
|
130
|
-
}
|
|
131
|
-
);
|
|
132
|
-
});
|
|
133
|
-
},
|
|
134
|
-
writeBundle() {
|
|
135
|
-
ctx.dump();
|
|
136
|
-
}
|
|
137
|
-
}
|
|
138
|
-
];
|
|
139
|
-
};
|
|
140
|
-
var factory_default = factory;
|
|
141
|
-
|
|
142
|
-
// src/core/plugin.ts
|
|
143
|
-
var unplugin = _unplugin.createUnplugin.call(void 0, factory_default);
|
|
144
|
-
var plugin_default = unplugin;
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
exports.plugin_default = plugin_default;
|
package/dist/chunk-5RVUE77A.js
DELETED
|
@@ -1,151 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
getGroupedEntries,
|
|
3
|
-
pluginName,
|
|
4
|
-
posix
|
|
5
|
-
} from "./chunk-TVEX3BIF.js";
|
|
6
|
-
import {
|
|
7
|
-
__dirname
|
|
8
|
-
} from "./chunk-YMEGC4U6.js";
|
|
9
|
-
|
|
10
|
-
// src/core/plugin.ts
|
|
11
|
-
import { createUnplugin } from "unplugin";
|
|
12
|
-
|
|
13
|
-
// src/core/factory.ts
|
|
14
|
-
import { createFilter } from "@rollup/pluginutils";
|
|
15
|
-
import { Context, cssHandler, htmlHandler, jsHandler, vueHandler, svelteHandler } from "@tailwindcss-mangle/core";
|
|
16
|
-
import { isCSSRequest } from "is-css-request";
|
|
17
|
-
var WEBPACK_LOADER = posix.resolve(__dirname, false ? "../../dist/loader.cjs" : "./loader.cjs");
|
|
18
|
-
var factory = (options) => {
|
|
19
|
-
const ctx = new Context();
|
|
20
|
-
let filter = (_id) => true;
|
|
21
|
-
return [
|
|
22
|
-
{
|
|
23
|
-
name: `${pluginName}:pre`,
|
|
24
|
-
enforce: "pre",
|
|
25
|
-
async buildStart() {
|
|
26
|
-
const initOptions = options === void 0 ? {} : { transformerOptions: options };
|
|
27
|
-
await ctx.initConfig(initOptions);
|
|
28
|
-
filter = createFilter(ctx.options.sources?.include, ctx.options.sources?.exclude);
|
|
29
|
-
}
|
|
30
|
-
},
|
|
31
|
-
{
|
|
32
|
-
name: `${pluginName}`,
|
|
33
|
-
transformInclude(id) {
|
|
34
|
-
return filter(id);
|
|
35
|
-
},
|
|
36
|
-
async transform(code, id) {
|
|
37
|
-
const opts = {
|
|
38
|
-
ctx,
|
|
39
|
-
id
|
|
40
|
-
};
|
|
41
|
-
if (/\.[cm]?[jt]sx?(?:$|\?)/.test(id)) {
|
|
42
|
-
return jsHandler(code, opts);
|
|
43
|
-
} else if (/\.vue(?:$|\?)/.test(id)) {
|
|
44
|
-
if (isCSSRequest(id)) {
|
|
45
|
-
return await cssHandler(code, opts);
|
|
46
|
-
} else {
|
|
47
|
-
return await vueHandler(code, opts);
|
|
48
|
-
}
|
|
49
|
-
} else if (/\.svelte(?:$|\?)/.test(id)) {
|
|
50
|
-
if (isCSSRequest(id)) {
|
|
51
|
-
return await cssHandler(code, opts);
|
|
52
|
-
} else {
|
|
53
|
-
return await svelteHandler(code, opts);
|
|
54
|
-
}
|
|
55
|
-
} else if (isCSSRequest(id)) {
|
|
56
|
-
return await cssHandler(code, opts);
|
|
57
|
-
} else if (/\.html?/.test(id)) {
|
|
58
|
-
return htmlHandler(code, opts);
|
|
59
|
-
}
|
|
60
|
-
},
|
|
61
|
-
webpack(compiler) {
|
|
62
|
-
const { NormalModule } = compiler.webpack;
|
|
63
|
-
const isExisted = true;
|
|
64
|
-
compiler.hooks.compilation.tap(pluginName, (compilation) => {
|
|
65
|
-
NormalModule.getCompilationHooks(compilation).loader.tap(pluginName, (_loaderContext, module) => {
|
|
66
|
-
if (isExisted) {
|
|
67
|
-
const idx = module.loaders.findIndex((x) => x.loader.includes("postcss-loader"));
|
|
68
|
-
if (idx > -1) {
|
|
69
|
-
module.loaders.splice(idx, 0, {
|
|
70
|
-
loader: WEBPACK_LOADER,
|
|
71
|
-
ident: null,
|
|
72
|
-
options: {
|
|
73
|
-
ctx
|
|
74
|
-
},
|
|
75
|
-
type: null
|
|
76
|
-
});
|
|
77
|
-
}
|
|
78
|
-
}
|
|
79
|
-
});
|
|
80
|
-
});
|
|
81
|
-
}
|
|
82
|
-
},
|
|
83
|
-
{
|
|
84
|
-
name: `${pluginName}:post`,
|
|
85
|
-
enforce: "post",
|
|
86
|
-
vite: {
|
|
87
|
-
transformIndexHtml(html) {
|
|
88
|
-
const { code } = htmlHandler(html, { ctx });
|
|
89
|
-
return code;
|
|
90
|
-
}
|
|
91
|
-
// generateBundle: {
|
|
92
|
-
// async handler(options, bundle) {
|
|
93
|
-
// const groupedEntries = getGroupedEntries(Object.entries(bundle))
|
|
94
|
-
// if (Array.isArray(groupedEntries.css) && groupedEntries.css.length > 0) {
|
|
95
|
-
// for (let i = 0; i < groupedEntries.css.length; i++) {
|
|
96
|
-
// const [id, cssSource] = groupedEntries.css[i] as [string, OutputAsset]
|
|
97
|
-
// const { code } = await cssHandler(cssSource.source.toString(), {
|
|
98
|
-
// id,
|
|
99
|
-
// ctx,
|
|
100
|
-
// })
|
|
101
|
-
// cssSource.source = code
|
|
102
|
-
// }
|
|
103
|
-
// }
|
|
104
|
-
// },
|
|
105
|
-
// },
|
|
106
|
-
},
|
|
107
|
-
webpack(compiler) {
|
|
108
|
-
const { Compilation, sources } = compiler.webpack;
|
|
109
|
-
const { ConcatSource } = sources;
|
|
110
|
-
compiler.hooks.compilation.tap(pluginName, (compilation) => {
|
|
111
|
-
compilation.hooks.processAssets.tapPromise(
|
|
112
|
-
{
|
|
113
|
-
name: pluginName,
|
|
114
|
-
stage: Compilation.PROCESS_ASSETS_STAGE_SUMMARIZE
|
|
115
|
-
},
|
|
116
|
-
async (assets) => {
|
|
117
|
-
const groupedEntries = getGroupedEntries(Object.entries(assets));
|
|
118
|
-
if (groupedEntries.css.length > 0) {
|
|
119
|
-
for (let i = 0; i < groupedEntries.css.length; i++) {
|
|
120
|
-
const entry = groupedEntries.css[i];
|
|
121
|
-
if (!entry) {
|
|
122
|
-
continue;
|
|
123
|
-
}
|
|
124
|
-
const [id, cssSource] = entry;
|
|
125
|
-
const { code } = await cssHandler(cssSource.source().toString(), {
|
|
126
|
-
id,
|
|
127
|
-
ctx
|
|
128
|
-
});
|
|
129
|
-
const source = new ConcatSource(code);
|
|
130
|
-
compilation.updateAsset(id, source);
|
|
131
|
-
}
|
|
132
|
-
}
|
|
133
|
-
}
|
|
134
|
-
);
|
|
135
|
-
});
|
|
136
|
-
},
|
|
137
|
-
writeBundle() {
|
|
138
|
-
ctx.dump();
|
|
139
|
-
}
|
|
140
|
-
}
|
|
141
|
-
];
|
|
142
|
-
};
|
|
143
|
-
var factory_default = factory;
|
|
144
|
-
|
|
145
|
-
// src/core/plugin.ts
|
|
146
|
-
var unplugin = createUnplugin(factory_default);
|
|
147
|
-
var plugin_default = unplugin;
|
|
148
|
-
|
|
149
|
-
export {
|
|
150
|
-
plugin_default
|
|
151
|
-
};
|