-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Description
The goal of Hydrogen is to be as flexible as possible to all users, I figured the best way to make it even more flexible is to add build hooks which would allow users to do just about anything they can think:
Here are a list of Hooks that I want to expose via a file called hydrogen.hooks.js
exports.beforeDistRemoved = async (ctx) => {
};
exports.afterDistRemoved = async (ctx) => {
};
exports.beforeBuild = async (ctx) => {
};
exports.afterBuild = async (ctx) => {
};
exports.beforeEachPage = async (ctx) => {
};
exports.afterEachPage = async (ctx) => {
};
exports.beforeServiceWorkerGenerated = async (ctx) => {
};
exports.afterServiceWorkerGenerated = async (ctx) => {
};
Metadata
Metadata
Assignees
Labels
No labels