Fix integration name

This commit is contained in:
prototypa
2024-05-08 00:49:49 -04:00
parent 502cecc005
commit 85810acf42

View File

@@ -4,10 +4,10 @@ import os from 'node:os';
import configBuilder from './utils/configBuilder';
import loadConfig from './utils/loadConfig';
const tasksIntegration = ({ config: _themeConfig = 'src/config.yaml' } = {}) => {
export default ({ config: _themeConfig = 'src/config.yaml' } = {}) => {
let cfg;
return {
name: 'AstroWind:tasks',
name: 'astrowind-integration',
hooks: {
'astro:config:setup': async ({
@@ -111,6 +111,4 @@ const tasksIntegration = ({ config: _themeConfig = 'src/config.yaml' } = {}) =>
},
},
};
};
export default tasksIntegration;
};