mirror of
https://github.com/tailwindlabs/tailwindcss.git
synced 2025-12-08 21:36:08 +00:00
Build dist assets on prepare
Removes the separate build command and just always builds our dist files on `npm run prepare`. This makes sure we never accidentally publish a release that doesn't have up to date dist files for CDNs like unpkg and jsdelivr.
This commit is contained in:
parent
a77d879db6
commit
1e207cfd7f
@ -18,8 +18,7 @@
|
||||
"scripts": {
|
||||
"prebabelify": "rimraf lib",
|
||||
"babelify": "babel src --out-dir lib",
|
||||
"prepare": "npm run babelify",
|
||||
"build": "npm run babelify && babel-node src/build.js",
|
||||
"prepare": "npm run babelify && babel-node src/build.js",
|
||||
"watch": "nodemon -e js,css --watch src --exec 'babel-node src/build.js'",
|
||||
"test": "jest"
|
||||
},
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user