frosty 0.0.76 → 0.0.77
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "frosty",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.77",
|
|
4
4
|
"main": "dist/index",
|
|
5
5
|
"module": "dist/index",
|
|
6
6
|
"types": "dist/index",
|
|
@@ -83,7 +83,6 @@
|
|
|
83
83
|
"ts-node": "^10.9.2",
|
|
84
84
|
"tslib": "^2.8.1",
|
|
85
85
|
"typescript": "^5.7.3",
|
|
86
|
-
"webidl2": "^24.4.1"
|
|
87
|
-
"webpack-cli": "^6.0.1"
|
|
86
|
+
"webidl2": "^24.4.1"
|
|
88
87
|
}
|
|
89
88
|
}
|
|
@@ -61,9 +61,9 @@ export default async (env, argv) => {
|
|
|
61
61
|
|
|
62
62
|
const frostyDeps = await (async () => {
|
|
63
63
|
try {
|
|
64
|
-
const resolved = import.meta.resolve('frosty');
|
|
64
|
+
const resolved = new URL(import.meta.resolve('frosty'));
|
|
65
65
|
return {
|
|
66
|
-
frosty: path.dirname(resolved.
|
|
66
|
+
frosty: decodeURI(path.dirname(resolved.pathname)),
|
|
67
67
|
};
|
|
68
68
|
} catch {
|
|
69
69
|
const { rollupConfig: { input } } = await import(path.resolve(__dirname, '../../rollup.config.mjs'));
|
|
@@ -88,24 +88,16 @@ export default async (env, argv) => {
|
|
|
88
88
|
cacheDirectory: true,
|
|
89
89
|
configFile: false,
|
|
90
90
|
presets: [
|
|
91
|
-
['
|
|
92
|
-
exclude: [
|
|
93
|
-
'@babel/plugin-transform-regenerator',
|
|
94
|
-
'@babel/plugin-transform-async-generator-functions',
|
|
95
|
-
'@babel/plugin-transform-async-to-generator',
|
|
96
|
-
],
|
|
91
|
+
[path.resolve(__dirname, 'node_modules/@babel/preset-env'), {
|
|
97
92
|
targets: server ? { node: 'current' } : 'defaults',
|
|
98
93
|
...server ? {} : config.polyfills ?? {},
|
|
99
94
|
}],
|
|
100
|
-
[
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
}
|
|
107
|
-
],
|
|
108
|
-
'@babel/preset-typescript',
|
|
95
|
+
[path.resolve(__dirname, "node_modules/@babel/preset-react"), {
|
|
96
|
+
development: !IS_PRODUCTION,
|
|
97
|
+
runtime: 'automatic',
|
|
98
|
+
importSource: 'frosty',
|
|
99
|
+
}],
|
|
100
|
+
path.resolve(__dirname, 'node_modules/@babel/preset-typescript'),
|
|
109
101
|
]
|
|
110
102
|
},
|
|
111
103
|
},
|