the editable site (validation-lab)
This commit is contained in:
commit
3ac81d5a52
13454 files changed
+2227005
No files matched your search
+13
@@ -0,0 +1,13 @@
|
||||
import { ActionsCantBeLoaded } from "../core/errors/errors-data.js";
|
||||
import { AstroError } from "../core/errors/index.js";
|
||||
import { ENTRYPOINT_VIRTUAL_MODULE_ID } from "./consts.js";
|
||||
async function loadActions(moduleLoader) {
|
||||
try {
|
||||
return await moduleLoader.import(ENTRYPOINT_VIRTUAL_MODULE_ID);
|
||||
} catch (error) {
|
||||
throw new AstroError(ActionsCantBeLoaded, { cause: error });
|
||||
}
|
||||
}
|
||||
export {
|
||||
loadActions
|
||||
};
|
||||
Reference in new issue
Block a user