elit 3.2.3 → 3.2.4
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 +9 -3
- package/dist/config.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/config.ts +8 -2
package/dist/cli.js
CHANGED
|
@@ -1435,7 +1435,7 @@ var require_package = __commonJS({
|
|
|
1435
1435
|
"package.json"(exports2, module2) {
|
|
1436
1436
|
module2.exports = {
|
|
1437
1437
|
name: "elit",
|
|
1438
|
-
version: "3.2.
|
|
1438
|
+
version: "3.2.4",
|
|
1439
1439
|
description: "Optimized lightweight library for creating DOM elements with reactive state",
|
|
1440
1440
|
main: "dist/index.js",
|
|
1441
1441
|
module: "dist/index.mjs",
|
|
@@ -1711,8 +1711,14 @@ async function loadConfigFile(configPath) {
|
|
|
1711
1711
|
write: true,
|
|
1712
1712
|
target: "es2020",
|
|
1713
1713
|
// Bundle everything including elit/* so config can use elit modules
|
|
1714
|
-
// Only mark Node.js built-ins as external
|
|
1715
|
-
external: [
|
|
1714
|
+
// Only mark Node.js built-ins and runtime-specific packages as external
|
|
1715
|
+
external: [
|
|
1716
|
+
"node:*",
|
|
1717
|
+
"bun",
|
|
1718
|
+
"bun:*",
|
|
1719
|
+
"deno",
|
|
1720
|
+
"deno:*"
|
|
1721
|
+
],
|
|
1716
1722
|
// Use the config directory as the working directory for resolution
|
|
1717
1723
|
absWorkingDir: configDir
|
|
1718
1724
|
});
|
package/dist/config.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../src/config.ts"],"names":[],"mappings":"AAAA;;GAEG;AAIH,OAAO,KAAK,EAAE,gBAAgB,EAAE,YAAY,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AA2C9E,MAAM,WAAW,UAAU;IACvB,uCAAuC;IACvC,GAAG,CAAC,EAAE,gBAAgB,CAAC;IACvB,qEAAqE;IACrE,KAAK,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,OAAO,EAAE,OAAO,CAAC,CAAC,CAAC,GACpB,CAAC,CAWH"}
|
package/package.json
CHANGED
package/src/config.ts
CHANGED
|
@@ -161,8 +161,14 @@ async function loadConfigFile(configPath: string): Promise<ElitConfig> {
|
|
|
161
161
|
write: true,
|
|
162
162
|
target: 'es2020',
|
|
163
163
|
// Bundle everything including elit/* so config can use elit modules
|
|
164
|
-
// Only mark Node.js built-ins as external
|
|
165
|
-
external: [
|
|
164
|
+
// Only mark Node.js built-ins and runtime-specific packages as external
|
|
165
|
+
external: [
|
|
166
|
+
'node:*',
|
|
167
|
+
'bun',
|
|
168
|
+
'bun:*',
|
|
169
|
+
'deno',
|
|
170
|
+
'deno:*'
|
|
171
|
+
],
|
|
166
172
|
// Use the config directory as the working directory for resolution
|
|
167
173
|
absWorkingDir: configDir,
|
|
168
174
|
});
|