Comments (3)
I was about to write the same thing and then saw this from @sputtering. I changed my package.json scripts section to:
"scripts": {
"watch:eleventy": "eleventy --serve",
"watch:sass": "sass --no-source-map --watch src/sass:public/css",
"start": "npm-run-all build:sass build:post --parallel watch:*",
"build": "npm-run-all build:*",
"build:eleventy": "eleventy",
"build:sass": "sass --no-source-map src/sass:public/css",
"build:post": "lightningcss --minify --targets '> 0.25%, not IE 11' public/css/*.css -o public/css/*.css"
},
from 11ty-sass-skeleton.
postbuild
does get called as any script prefixed with βpostβ is called after the build
script runs because it has a matching name - See npm docs. Iβve sent a pull for referencing the browserslist.
from 11ty-sass-skeleton.
Resolved with the freshly released v3 which uses new 11ty methods and moves the Sass part to a standalone plugin
from 11ty-sass-skeleton.
Related Issues (5)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from 11ty-sass-skeleton.