Skip to content

Commit 89dfc39

Browse files
committed
cachify-static format changed to name
in this way we can actually use source maps
1 parent 9f662e9 commit 89dfc39

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Makefile

+1
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ all: lint test build
6060
--use postcss-cachify \
6161
--postcss-cachify.baseUrl /stylesheets \
6262
--postcss-cachify.basePath public \
63+
--postcss-cachify.format name \
6364
--output $@ $@
6465

6566
%.min.css: %.css

app.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ process.env.NODE_ENV ??= 'development';
2020
const root = path.join(__dirname, 'public');
2121
const { SITE_URL: siteUrl, LIFTIE_STATIC_HOST: staticHost = '' } = process.env;
2222

23-
const cachify = cachifyStatic(root);
23+
const cachify = cachifyStatic(root, { format: 'name' });
2424

2525
app.locals = {
2626
min: '.min',

0 commit comments

Comments
 (0)