full site update
This commit is contained in:
13
node_modules/astro/dist/actions/loadActions.js
generated
vendored
Normal file
13
node_modules/astro/dist/actions/loadActions.js
generated
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
import { ActionsCantBeLoaded } from "../core/errors/errors-data.js";
|
||||
import { AstroError } from "../core/errors/index.js";
|
||||
import { ASTRO_ACTIONS_INTERNAL_MODULE_ID } from "./consts.js";
|
||||
async function loadActions(moduleLoader) {
|
||||
try {
|
||||
return await moduleLoader.import(ASTRO_ACTIONS_INTERNAL_MODULE_ID);
|
||||
} catch (error) {
|
||||
throw new AstroError(ActionsCantBeLoaded, { cause: error });
|
||||
}
|
||||
}
|
||||
export {
|
||||
loadActions
|
||||
};
|
Reference in New Issue
Block a user