More changes to structure and UI

This commit is contained in:
2022-04-27 21:55:18 -04:00
parent 3d4b1b4f54
commit 9d761d0d3d
22 changed files with 257 additions and 218 deletions
+3 -3
View File
@@ -6,13 +6,13 @@ module.exports = {
webpack: (config, options) => {
config.experiments = { asset: true };
const { cachePostsMeta } = require('./util/slug');
const { cache } = require('./util/slug');
config.plugins.push(
{
apply: (compiler) => {
compiler.hooks.initialize.tap('cachePostDataBC', _ => {
cachePostsMeta();
compiler.hooks.beforeCompile.tap('cachePostDataBC', _ => {
cache();
});
}
}