@animus-ui/unplugin 0.1.20 → 0.1.22
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/{core-BPadCuEs.mjs → core-BefIaJxu.mjs} +38 -3
- package/dist/{core-Op4RfilE.cjs → core-CA2hGS8D.cjs} +38 -3
- package/dist/core.d.ts +3 -0
- package/dist/core.d.ts.map +1 -1
- package/dist/esbuild.cjs +1 -1
- package/dist/esbuild.mjs +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.mjs +1 -1
- package/dist/rollup.cjs +1 -1
- package/dist/rollup.mjs +1 -1
- package/dist/rspack.cjs +1 -1
- package/dist/rspack.mjs +1 -1
- package/dist/webpack.cjs +1 -1
- package/dist/webpack.mjs +1 -1
- package/package.json +2 -2
|
@@ -36,6 +36,11 @@ function resolveHostMode(explicit, oracle) {
|
|
|
36
36
|
* webpack's virtual-module bridge requires plain ids. */
|
|
37
37
|
const STYLES_VIRTUAL_ID = "animus:styles";
|
|
38
38
|
const PROPS_VIRTUAL_ID = "animus:system-props";
|
|
39
|
+
/** What webpack requests in place of the session's system-props id: webpack
|
|
40
|
+
* hands a scheme-shaped request such as `virtual:…` to its scheme handlers,
|
|
41
|
+
* never the resolver, so only a plain id reaches `resolveId` and the
|
|
42
|
+
* virtual-module bridge behind it. */
|
|
43
|
+
const WEBPACK_PROPS_REQUEST = "@animus-ui/unplugin/system-props";
|
|
39
44
|
const CSS_ASSET_NAME = "animus.css";
|
|
40
45
|
const TRANSFORM_INCLUDE_RE = new RegExp(`\\.(?:${[...ENGINE_TRANSFORM_EXTENSIONS, "cjs"].join("|")})$`);
|
|
41
46
|
const DEV_DEFINE_RE = /\b__ANIMUS_DEV__\b(?!\s*=[^=])/g;
|
|
@@ -46,6 +51,7 @@ function createHostState() {
|
|
|
46
51
|
cssText: "",
|
|
47
52
|
systemPropsJs: "",
|
|
48
53
|
kitRedirects: /* @__PURE__ */ new Map(),
|
|
54
|
+
kitSideEffects: /* @__PURE__ */ new Map(),
|
|
49
55
|
redirectTargets: /* @__PURE__ */ new Set(),
|
|
50
56
|
externalPackageDirs: [],
|
|
51
57
|
watchPaths: [],
|
|
@@ -80,7 +86,7 @@ async function drivePipeline(state, run, removeDir) {
|
|
|
80
86
|
function resolveAnimusId(id) {
|
|
81
87
|
if (id === ANIMUS_CSS_MODULE_ID || id.endsWith(`/${ANIMUS_CSS_MODULE_ID}`)) return STYLES_VIRTUAL_ID;
|
|
82
88
|
if (id === "animus:styles" || id === "animus:system-props") return id;
|
|
83
|
-
if (id === TURBOPACK_SYSTEM_PROPS_ID) return PROPS_VIRTUAL_ID;
|
|
89
|
+
if (id === TURBOPACK_SYSTEM_PROPS_ID || id === WEBPACK_PROPS_REQUEST) return PROPS_VIRTUAL_ID;
|
|
84
90
|
return null;
|
|
85
91
|
}
|
|
86
92
|
function substituteDevDefine(code, isDev) {
|
|
@@ -111,6 +117,7 @@ const unpluginFactory = (rawOptions, meta) => {
|
|
|
111
117
|
});
|
|
112
118
|
const effectiveMode = () => resolveHostMode(options.mode, modeOracle);
|
|
113
119
|
const needsInlineDefine = meta.framework !== "esbuild" && meta.framework !== "webpack" && meta.framework !== "rspack";
|
|
120
|
+
const unbundledComputedImports = meta.framework === "rollup" || meta.framework === "rolldown" || meta.framework === "esbuild" || meta.framework === "vite";
|
|
114
121
|
async function startPipeline() {
|
|
115
122
|
signalPipelineStarted();
|
|
116
123
|
try {
|
|
@@ -131,7 +138,7 @@ const unpluginFactory = (rawOptions, meta) => {
|
|
|
131
138
|
const session = new ExtractionSession({
|
|
132
139
|
...options,
|
|
133
140
|
mode
|
|
134
|
-
});
|
|
141
|
+
}, { unbundledComputedImports });
|
|
135
142
|
activeSession = session;
|
|
136
143
|
session.driverLabel = "animus-unplugin";
|
|
137
144
|
session.rootDir = root;
|
|
@@ -146,6 +153,7 @@ const unpluginFactory = (rawOptions, meta) => {
|
|
|
146
153
|
state.cssText = getSharedCss();
|
|
147
154
|
state.systemPropsJs = getSharedSystemProps();
|
|
148
155
|
state.kitRedirects = new Map(session.externalSourceEntries);
|
|
156
|
+
state.kitSideEffects = new Map(session.externalSourceSideEffects);
|
|
149
157
|
state.redirectTargets = new Set(state.kitRedirects.values());
|
|
150
158
|
state.externalPackageDirs = [...session.externalPackageDirs];
|
|
151
159
|
const watchPaths = /* @__PURE__ */ new Set();
|
|
@@ -215,7 +223,14 @@ const unpluginFactory = (rawOptions, meta) => {
|
|
|
215
223
|
if (virtual !== null) return virtual;
|
|
216
224
|
if (id.startsWith(".") || id.startsWith("/") || id.startsWith("\0") || id.startsWith("animus:")) return null;
|
|
217
225
|
await joinPipeline();
|
|
218
|
-
|
|
226
|
+
const target = state.kitRedirects.get(id);
|
|
227
|
+
if (target === void 0) return null;
|
|
228
|
+
const moduleSideEffects = state.kitSideEffects.get(id);
|
|
229
|
+
if (moduleSideEffects === void 0) return target;
|
|
230
|
+
return {
|
|
231
|
+
id: target,
|
|
232
|
+
moduleSideEffects
|
|
233
|
+
};
|
|
219
234
|
},
|
|
220
235
|
loadInclude(id) {
|
|
221
236
|
return id === "animus:styles" || id === "animus:system-props" || state.redirectTargets.has(moduleFilePath(id));
|
|
@@ -283,6 +298,12 @@ const unpluginFactory = (rawOptions, meta) => {
|
|
|
283
298
|
} },
|
|
284
299
|
webpack(compiler) {
|
|
285
300
|
wireWebpackLike(compiler);
|
|
301
|
+
classifyWebpackRedirects(compiler);
|
|
302
|
+
compiler.hooks.normalModuleFactory.tap(PLUGIN_NAME, (nmf) => {
|
|
303
|
+
nmf.hooks.beforeResolve.tap(PLUGIN_NAME, (resolveData) => {
|
|
304
|
+
if (resolveData.request === TURBOPACK_SYSTEM_PROPS_ID) resolveData.request = WEBPACK_PROPS_REQUEST;
|
|
305
|
+
});
|
|
306
|
+
});
|
|
286
307
|
},
|
|
287
308
|
rspack(compiler) {
|
|
288
309
|
wireWebpackLike(compiler);
|
|
@@ -295,6 +316,20 @@ const unpluginFactory = (rawOptions, meta) => {
|
|
|
295
316
|
};
|
|
296
317
|
} }
|
|
297
318
|
};
|
|
319
|
+
/** Webpack would classify a redirect target by its own path against the
|
|
320
|
+
* package's `sideEffects`, so the replaced entry's classification is set
|
|
321
|
+
* as a rule's would be. Rspack's resolve data is not known to carry
|
|
322
|
+
* rule settings, so rspack keeps its own classification. */
|
|
323
|
+
function classifyWebpackRedirects(compiler) {
|
|
324
|
+
compiler.hooks.normalModuleFactory.tap(PLUGIN_NAME, (nmf) => {
|
|
325
|
+
nmf.hooks.afterResolve.tap(PLUGIN_NAME, (resolveData) => {
|
|
326
|
+
const { createData } = resolveData;
|
|
327
|
+
const sideEffects = state.kitSideEffects.get(resolveData.request);
|
|
328
|
+
if (sideEffects === void 0 || !createData?.settings || createData.resource !== state.kitRedirects.get(resolveData.request)) return;
|
|
329
|
+
createData.settings.sideEffects = sideEffects;
|
|
330
|
+
});
|
|
331
|
+
});
|
|
332
|
+
}
|
|
298
333
|
function wireWebpackLike(compiler) {
|
|
299
334
|
modeOracle = compiler.options.mode === "development" ? "development" : "production";
|
|
300
335
|
const DefinePlugin = compiler.webpack?.DefinePlugin ?? compiler.rspack?.DefinePlugin;
|
|
@@ -36,6 +36,11 @@ function resolveHostMode(explicit, oracle) {
|
|
|
36
36
|
* webpack's virtual-module bridge requires plain ids. */
|
|
37
37
|
const STYLES_VIRTUAL_ID = "animus:styles";
|
|
38
38
|
const PROPS_VIRTUAL_ID = "animus:system-props";
|
|
39
|
+
/** What webpack requests in place of the session's system-props id: webpack
|
|
40
|
+
* hands a scheme-shaped request such as `virtual:…` to its scheme handlers,
|
|
41
|
+
* never the resolver, so only a plain id reaches `resolveId` and the
|
|
42
|
+
* virtual-module bridge behind it. */
|
|
43
|
+
const WEBPACK_PROPS_REQUEST = "@animus-ui/unplugin/system-props";
|
|
39
44
|
const CSS_ASSET_NAME = "animus.css";
|
|
40
45
|
const TRANSFORM_INCLUDE_RE = new RegExp(`\\.(?:${[..._animus_ui_extract_pipeline.ENGINE_TRANSFORM_EXTENSIONS, "cjs"].join("|")})$`);
|
|
41
46
|
const DEV_DEFINE_RE = /\b__ANIMUS_DEV__\b(?!\s*=[^=])/g;
|
|
@@ -46,6 +51,7 @@ function createHostState() {
|
|
|
46
51
|
cssText: "",
|
|
47
52
|
systemPropsJs: "",
|
|
48
53
|
kitRedirects: /* @__PURE__ */ new Map(),
|
|
54
|
+
kitSideEffects: /* @__PURE__ */ new Map(),
|
|
49
55
|
redirectTargets: /* @__PURE__ */ new Set(),
|
|
50
56
|
externalPackageDirs: [],
|
|
51
57
|
watchPaths: [],
|
|
@@ -80,7 +86,7 @@ async function drivePipeline(state, run, removeDir) {
|
|
|
80
86
|
function resolveAnimusId(id) {
|
|
81
87
|
if (id === _animus_ui_extract_session.ANIMUS_CSS_MODULE_ID || id.endsWith(`/${_animus_ui_extract_session.ANIMUS_CSS_MODULE_ID}`)) return STYLES_VIRTUAL_ID;
|
|
82
88
|
if (id === "animus:styles" || id === "animus:system-props") return id;
|
|
83
|
-
if (id === _animus_ui_extract_session.TURBOPACK_SYSTEM_PROPS_ID) return PROPS_VIRTUAL_ID;
|
|
89
|
+
if (id === _animus_ui_extract_session.TURBOPACK_SYSTEM_PROPS_ID || id === WEBPACK_PROPS_REQUEST) return PROPS_VIRTUAL_ID;
|
|
84
90
|
return null;
|
|
85
91
|
}
|
|
86
92
|
function substituteDevDefine(code, isDev) {
|
|
@@ -111,6 +117,7 @@ const unpluginFactory = (rawOptions, meta) => {
|
|
|
111
117
|
});
|
|
112
118
|
const effectiveMode = () => resolveHostMode(options.mode, modeOracle);
|
|
113
119
|
const needsInlineDefine = meta.framework !== "esbuild" && meta.framework !== "webpack" && meta.framework !== "rspack";
|
|
120
|
+
const unbundledComputedImports = meta.framework === "rollup" || meta.framework === "rolldown" || meta.framework === "esbuild" || meta.framework === "vite";
|
|
114
121
|
async function startPipeline() {
|
|
115
122
|
signalPipelineStarted();
|
|
116
123
|
try {
|
|
@@ -131,7 +138,7 @@ const unpluginFactory = (rawOptions, meta) => {
|
|
|
131
138
|
const session = new _animus_ui_extract_session.ExtractionSession({
|
|
132
139
|
...options,
|
|
133
140
|
mode
|
|
134
|
-
});
|
|
141
|
+
}, { unbundledComputedImports });
|
|
135
142
|
activeSession = session;
|
|
136
143
|
session.driverLabel = "animus-unplugin";
|
|
137
144
|
session.rootDir = root;
|
|
@@ -146,6 +153,7 @@ const unpluginFactory = (rawOptions, meta) => {
|
|
|
146
153
|
state.cssText = (0, _animus_ui_extract_session.getSharedCss)();
|
|
147
154
|
state.systemPropsJs = (0, _animus_ui_extract_session.getSharedSystemProps)();
|
|
148
155
|
state.kitRedirects = new Map(session.externalSourceEntries);
|
|
156
|
+
state.kitSideEffects = new Map(session.externalSourceSideEffects);
|
|
149
157
|
state.redirectTargets = new Set(state.kitRedirects.values());
|
|
150
158
|
state.externalPackageDirs = [...session.externalPackageDirs];
|
|
151
159
|
const watchPaths = /* @__PURE__ */ new Set();
|
|
@@ -215,7 +223,14 @@ const unpluginFactory = (rawOptions, meta) => {
|
|
|
215
223
|
if (virtual !== null) return virtual;
|
|
216
224
|
if (id.startsWith(".") || id.startsWith("/") || id.startsWith("\0") || id.startsWith("animus:")) return null;
|
|
217
225
|
await joinPipeline();
|
|
218
|
-
|
|
226
|
+
const target = state.kitRedirects.get(id);
|
|
227
|
+
if (target === void 0) return null;
|
|
228
|
+
const moduleSideEffects = state.kitSideEffects.get(id);
|
|
229
|
+
if (moduleSideEffects === void 0) return target;
|
|
230
|
+
return {
|
|
231
|
+
id: target,
|
|
232
|
+
moduleSideEffects
|
|
233
|
+
};
|
|
219
234
|
},
|
|
220
235
|
loadInclude(id) {
|
|
221
236
|
return id === "animus:styles" || id === "animus:system-props" || state.redirectTargets.has(moduleFilePath(id));
|
|
@@ -283,6 +298,12 @@ const unpluginFactory = (rawOptions, meta) => {
|
|
|
283
298
|
} },
|
|
284
299
|
webpack(compiler) {
|
|
285
300
|
wireWebpackLike(compiler);
|
|
301
|
+
classifyWebpackRedirects(compiler);
|
|
302
|
+
compiler.hooks.normalModuleFactory.tap(PLUGIN_NAME, (nmf) => {
|
|
303
|
+
nmf.hooks.beforeResolve.tap(PLUGIN_NAME, (resolveData) => {
|
|
304
|
+
if (resolveData.request === _animus_ui_extract_session.TURBOPACK_SYSTEM_PROPS_ID) resolveData.request = WEBPACK_PROPS_REQUEST;
|
|
305
|
+
});
|
|
306
|
+
});
|
|
286
307
|
},
|
|
287
308
|
rspack(compiler) {
|
|
288
309
|
wireWebpackLike(compiler);
|
|
@@ -295,6 +316,20 @@ const unpluginFactory = (rawOptions, meta) => {
|
|
|
295
316
|
};
|
|
296
317
|
} }
|
|
297
318
|
};
|
|
319
|
+
/** Webpack would classify a redirect target by its own path against the
|
|
320
|
+
* package's `sideEffects`, so the replaced entry's classification is set
|
|
321
|
+
* as a rule's would be. Rspack's resolve data is not known to carry
|
|
322
|
+
* rule settings, so rspack keeps its own classification. */
|
|
323
|
+
function classifyWebpackRedirects(compiler) {
|
|
324
|
+
compiler.hooks.normalModuleFactory.tap(PLUGIN_NAME, (nmf) => {
|
|
325
|
+
nmf.hooks.afterResolve.tap(PLUGIN_NAME, (resolveData) => {
|
|
326
|
+
const { createData } = resolveData;
|
|
327
|
+
const sideEffects = state.kitSideEffects.get(resolveData.request);
|
|
328
|
+
if (sideEffects === void 0 || !createData?.settings || createData.resource !== state.kitRedirects.get(resolveData.request)) return;
|
|
329
|
+
createData.settings.sideEffects = sideEffects;
|
|
330
|
+
});
|
|
331
|
+
});
|
|
332
|
+
}
|
|
298
333
|
function wireWebpackLike(compiler) {
|
|
299
334
|
modeOracle = compiler.options.mode === "development" ? "development" : "production";
|
|
300
335
|
const DefinePlugin = compiler.webpack?.DefinePlugin ?? compiler.rspack?.DefinePlugin;
|
package/dist/core.d.ts
CHANGED
|
@@ -12,6 +12,9 @@ export interface HostState {
|
|
|
12
12
|
cssText: string;
|
|
13
13
|
systemPropsJs: string;
|
|
14
14
|
kitRedirects: Map<string, string>;
|
|
15
|
+
/** Specifier → its redirect target's side effects; absent leaves the
|
|
16
|
+
* bundler's own classification. */
|
|
17
|
+
kitSideEffects: Map<string, boolean>;
|
|
15
18
|
redirectTargets: Set<string>;
|
|
16
19
|
externalPackageDirs: string[];
|
|
17
20
|
watchPaths: string[];
|
package/dist/core.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"core.d.ts","sourceRoot":"","sources":["../src/core.ts"],"names":[],"mappings":"AAyBA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,WAAW,CAAC;AACvD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,6BAA6B,CAAC;AAC9D,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"core.d.ts","sourceRoot":"","sources":["../src/core.ts"],"names":[],"mappings":"AAyBA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,WAAW,CAAC;AACvD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,6BAA6B,CAAC;AAC9D,OAAO,KAAK,EAGV,eAAe,EAChB,MAAM,UAAU,CAAC;AAElB;0DAC0D;AAC1D,eAAO,MAAM,iBAAiB,kBAAkB,CAAC;AAEjD,eAAO,MAAM,gBAAgB,wBAAwB,CAAC;AAQtD,eAAO,MAAM,cAAc,eAAe,CAAC;AAQ3C,MAAM,WAAW,SAAS;IACxB,QAAQ,EAAE,OAAO,CAAC,IAAI,CAAC,GAAG,IAAI,CAAC;IAC/B,IAAI,EAAE,UAAU,GAAG,IAAI,CAAC;IACxB,OAAO,EAAE,MAAM,CAAC;IAChB,aAAa,EAAE,MAAM,CAAC;IACtB,YAAY,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAClC;wCACoC;IACpC,cAAc,EAAE,GAAG,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACrC,eAAe,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;IAC7B,mBAAmB,EAAE,MAAM,EAAE,CAAC;IAC9B,UAAU,EAAE,MAAM,EAAE,CAAC;IACrB,aAAa,EACT,CAAC,CACC,MAAM,EAAE,MAAM,EACd,IAAI,EAAE,MAAM,EACZ,YAAY,EAAE,MAAM,KACjB;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,aAAa,EAAE,OAAO,CAAA;KAAE,CAAC,GAC9C,IAAI,CAAC;IACT,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;CAC3B;AAED,wBAAgB,eAAe,IAAI,SAAS,CAc3C;AAED,wBAAgB,oBAAoB,CAClC,QAAQ,EAAE,MAAM,EAChB,KAAK,EAAE,IAAI,CAAC,SAAS,EAAE,qBAAqB,GAAG,iBAAiB,CAAC,GAChE,OAAO,CAMT;AAED,wBAAgB,iBAAiB,CAC/B,KAAK,EAAE,SAAS,EAChB,SAAS,GAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IACmB,GAC9C,IAAI,CAKN;AAED,wBAAsB,aAAa,CACjC,KAAK,EAAE,SAAS,EAChB,GAAG,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,EACxB,SAAS,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,GAChC,OAAO,CAAC,IAAI,CAAC,CAYf;AAED,wBAAgB,eAAe,CAAC,EAAE,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CASzD;AAED,wBAAgB,mBAAmB,CACjC,IAAI,EAAE,MAAM,EACZ,KAAK,EAAE,OAAO,GACb,MAAM,GAAG,IAAI,CAGf;AAED,wBAAgB,mBAAmB,CACjC,IAAI,EAAE,MAAM,EACZ,EAAE,EAAE,MAAM,EACV,GAAG,EAAE;IACH,OAAO,EAAE,MAAM,CAAC;IAChB,YAAY,EAAE,MAAM,CAAC;IACrB,aAAa,EAAE,CACb,MAAM,EAAE,MAAM,EACd,IAAI,EAAE,MAAM,EACZ,YAAY,EAAE,MAAM,KACjB;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,aAAa,EAAE,OAAO,CAAA;KAAE,CAAC;CAC/C,GACA,MAAM,GAAG,IAAI,CAIf;AA0DD,eAAO,MAAM,eAAe,EAAE,eAAe,CAC3C,qBAAqB,GAAG,SAAS,CAuVlC,CAAC"}
|
package/dist/esbuild.cjs
CHANGED
|
@@ -2,7 +2,7 @@ Object.defineProperties(exports, {
|
|
|
2
2
|
__esModule: { value: true },
|
|
3
3
|
[Symbol.toStringTag]: { value: "Module" }
|
|
4
4
|
});
|
|
5
|
-
const require_core = require("./core-
|
|
5
|
+
const require_core = require("./core-CA2hGS8D.cjs");
|
|
6
6
|
//#region src/esbuild.ts
|
|
7
7
|
const animusEsbuild = (0, require("unplugin").createEsbuildPlugin)(require_core.unpluginFactory);
|
|
8
8
|
//#endregion
|
package/dist/esbuild.mjs
CHANGED
package/dist/index.cjs
CHANGED
|
@@ -2,7 +2,7 @@ Object.defineProperties(exports, {
|
|
|
2
2
|
__esModule: { value: true },
|
|
3
3
|
[Symbol.toStringTag]: { value: "Module" }
|
|
4
4
|
});
|
|
5
|
-
const require_core = require("./core-
|
|
5
|
+
const require_core = require("./core-CA2hGS8D.cjs");
|
|
6
6
|
//#region src/index.ts
|
|
7
7
|
const animusUnplugin = (0, require("unplugin").createUnplugin)(require_core.unpluginFactory);
|
|
8
8
|
//#endregion
|
package/dist/index.mjs
CHANGED
package/dist/rollup.cjs
CHANGED
|
@@ -2,7 +2,7 @@ Object.defineProperties(exports, {
|
|
|
2
2
|
__esModule: { value: true },
|
|
3
3
|
[Symbol.toStringTag]: { value: "Module" }
|
|
4
4
|
});
|
|
5
|
-
const require_core = require("./core-
|
|
5
|
+
const require_core = require("./core-CA2hGS8D.cjs");
|
|
6
6
|
//#region src/rollup.ts
|
|
7
7
|
const animusRollup = (0, require("unplugin").createRollupPlugin)(require_core.unpluginFactory);
|
|
8
8
|
//#endregion
|
package/dist/rollup.mjs
CHANGED
package/dist/rspack.cjs
CHANGED
|
@@ -2,7 +2,7 @@ Object.defineProperties(exports, {
|
|
|
2
2
|
__esModule: { value: true },
|
|
3
3
|
[Symbol.toStringTag]: { value: "Module" }
|
|
4
4
|
});
|
|
5
|
-
const require_core = require("./core-
|
|
5
|
+
const require_core = require("./core-CA2hGS8D.cjs");
|
|
6
6
|
//#region src/rspack.ts
|
|
7
7
|
const animusRspack = (0, require("unplugin").createRspackPlugin)(require_core.unpluginFactory);
|
|
8
8
|
//#endregion
|
package/dist/rspack.mjs
CHANGED
package/dist/webpack.cjs
CHANGED
|
@@ -2,7 +2,7 @@ Object.defineProperties(exports, {
|
|
|
2
2
|
__esModule: { value: true },
|
|
3
3
|
[Symbol.toStringTag]: { value: "Module" }
|
|
4
4
|
});
|
|
5
|
-
const require_core = require("./core-
|
|
5
|
+
const require_core = require("./core-CA2hGS8D.cjs");
|
|
6
6
|
//#region src/webpack.ts
|
|
7
7
|
const animusWebpack = (0, require("unplugin").createWebpackPlugin)(require_core.unpluginFactory);
|
|
8
8
|
//#endregion
|
package/dist/webpack.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@animus-ui/unplugin",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.22",
|
|
4
4
|
"description": "Animus transform host for non-plugin bundlers — unplugin-based rollup/esbuild/rspack/webpack entry points over the one extraction session",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"animus",
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
"compile": "tsc --noEmit"
|
|
58
58
|
},
|
|
59
59
|
"dependencies": {
|
|
60
|
-
"@animus-ui/extract": "0.1.
|
|
60
|
+
"@animus-ui/extract": "0.1.22",
|
|
61
61
|
"unplugin": "^3.3.0"
|
|
62
62
|
},
|
|
63
63
|
"engines": {
|