We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 272b0be commit 9f9aca2Copy full SHA for 9f9aca2
1 file changed
.eleventy.js
@@ -22,8 +22,8 @@ module.exports = function (eleventyConfig) {
22
return esbuild.build({
23
entryPoints: ["src/sass/app.scss"],
24
outdir: "_site/assets",
25
- minify: process.env.ELEVENTY_ENV === "production",
26
- sourcemap: process.env.ELEVENTY_ENV !== "production",
+ minify: process.env.NODE_ENV === "production",
+ sourcemap: process.env.NODE_ENV !== "production",
27
plugins: [sassPlugin()]
28
});
29
0 commit comments