Skip to content

Commit

Permalink
feat:exportStatic
Browse files Browse the repository at this point in the history
  • Loading branch information
Xutaotaotao committed May 7, 2024
1 parent a4f1d7b commit 0a5ddeb
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
1 change: 1 addition & 0 deletions .umirc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@ export default defineConfig({
title: 'XTools',
base: '/XTools/',
publicPath: '/XTools/',
exportStatic: {},
});
7 changes: 6 additions & 1 deletion src/.umi/core/plugin.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
// @ts-nocheck
// This file is generated by Umi automatically
// DO NOT CHANGE IT MANUALLY!
import * as Plugin_0 from '@@/core/helmet.ts';
import * as Plugin_0 from '@@/core/exportStaticRuntimePlugin.ts';
import * as Plugin_1 from '@@/core/helmet.ts';
import { PluginManager } from 'umi';

function __defaultExport (obj) {
Expand All @@ -14,6 +15,10 @@ export function getPlugins() {
return [
{
apply: Plugin_0,
path: process.env.NODE_ENV === 'production' ? void 0 : '@@/core/exportStaticRuntimePlugin.ts',
},
{
apply: Plugin_1,
path: process.env.NODE_ENV === 'production' ? void 0 : '@@/core/helmet.ts',
},
];
Expand Down

0 comments on commit 0a5ddeb

Please sign in to comment.