@_tc/template-core 0.0.1-bate.11 → 0.0.1-bate.13

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.
@@ -122,6 +122,12 @@ const VBuildFE = async (input) => {
122
122
  emptyOutDir: true,
123
123
  rollupOptions: { input },
124
124
  },
125
+ resolve: {
126
+ alias: {
127
+ // 需要配置打包后的文件地址
128
+ "@tc/ui-react": path_1.default.resolve(__dirname, "../../fe/packages/ui/react/"),
129
+ },
130
+ },
125
131
  });
126
132
  };
127
133
  exports.VBuildFE = VBuildFE;
@@ -81,5 +81,11 @@ export const VBuildFE = async (input) => {
81
81
  emptyOutDir: true,
82
82
  rollupOptions: { input },
83
83
  },
84
+ resolve: {
85
+ alias: {
86
+ // 需要配置打包后的文件地址
87
+ "@tc/ui-react": path.resolve(__dirname, "../../fe/packages/ui/react/"),
88
+ },
89
+ },
84
90
  });
85
91
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@_tc/template-core",
3
- "version": "0.0.1-bate.11",
3
+ "version": "0.0.1-bate.13",
4
4
  "description": "A TypeScript Koa framework template - Monorepo root",
5
5
  "main": "./index.js",
6
6
  "types": "./index.d.ts",