diff --git a/Makefile b/Makefile index de098129..fa221460 100644 --- a/Makefile +++ b/Makefile @@ -60,6 +60,7 @@ all: lint test build --use postcss-cachify \ --postcss-cachify.baseUrl /stylesheets \ --postcss-cachify.basePath public \ + --postcss-cachify.format name \ --output $@ $@ %.min.css: %.css diff --git a/app.js b/app.js index eb1f9c8f..3fbc6dd3 100644 --- a/app.js +++ b/app.js @@ -20,7 +20,7 @@ process.env.NODE_ENV ??= 'development'; const root = path.join(__dirname, 'public'); const { SITE_URL: siteUrl, LIFTIE_STATIC_HOST: staticHost = '' } = process.env; -const cachify = cachifyStatic(root); +const cachify = cachifyStatic(root, { format: 'name' }); app.locals = { min: '.min',