Skip to content

Commit

Permalink
cachify-static format changed to name
Browse files Browse the repository at this point in the history
in this way we can actually use source maps
  • Loading branch information
pirxpilot committed Jan 20, 2025
1 parent 9e50faa commit e96ae99
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion app.js
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit e96ae99

Please sign in to comment.