@snack-kit/core 0.3.0 → 0.4.0
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/README.md +8 -0
- package/dist/cjs/index.js +1 -1
- package/dist/es/{index.mjs → index.js} +2 -2
- package/dist/es/index.js.map +1 -0
- package/package.json +1 -1
- package/dist/es/index.mjs.map +0 -1
package/README.md
CHANGED
|
@@ -368,6 +368,14 @@ npm run docs
|
|
|
368
368
|
|
|
369
369
|
## Changelog
|
|
370
370
|
|
|
371
|
+
### 0.4.0
|
|
372
|
+
|
|
373
|
+
**Bug 修复**
|
|
374
|
+
|
|
375
|
+
- 修复 tsup ESM 构建产物扩展名问题:新增 `outExtension: () => ({ js: '.js' })` 配置,强制输出 `dist/es/index.js`,与 `package.json` 的 `exports.import` 路径一致,解决 Vite 等构建工具无法解析 `@snack-kit/core` 入口("Failed to resolve entry")的问题
|
|
376
|
+
|
|
377
|
+
---
|
|
378
|
+
|
|
371
379
|
### 0.2.0
|
|
372
380
|
|
|
373
381
|
**新增**
|
package/dist/cjs/index.js
CHANGED
|
@@ -4823,7 +4823,7 @@ var Loading = function Loading1(props) {
|
|
|
4823
4823
|
// package.json
|
|
4824
4824
|
var package_default = {
|
|
4825
4825
|
name: "@snack-kit/core",
|
|
4826
|
-
version: "0.
|
|
4826
|
+
version: "0.4.0",
|
|
4827
4827
|
main: "dist/cjs/index.js",
|
|
4828
4828
|
module: "dist/es/index.js",
|
|
4829
4829
|
typings: "dist/types/index.d.ts",
|
|
@@ -4728,7 +4728,7 @@ var Loading = function Loading1(props) {
|
|
|
4728
4728
|
// package.json
|
|
4729
4729
|
var package_default = {
|
|
4730
4730
|
name: "@snack-kit/core",
|
|
4731
|
-
version: "0.
|
|
4731
|
+
version: "0.4.0",
|
|
4732
4732
|
main: "dist/cjs/index.js",
|
|
4733
4733
|
module: "dist/es/index.js",
|
|
4734
4734
|
typings: "dist/types/index.d.ts",
|
|
@@ -4801,4 +4801,4 @@ console.log("\n ____ __ _______ __ __\n / __/__ ___ _____/
|
|
|
4801
4801
|
export { Core, DisplayModule, Error2 as Error, GetDefaultEvents, GetParamsDetails, Loading, ParamsDetails, Snack, SnackSDK, SnackSetting, createReactRoot, src_default as default, enParamsDetails, evalFunc, replaceVars }; /**
|
|
4802
4802
|
* @license Snack RequireJS 2.3.6
|
|
4803
4803
|
*/
|
|
4804
|
-
//# sourceMappingURL=index.
|
|
4804
|
+
//# sourceMappingURL=index.js.map
|