]> git.ipfire.org Git - thirdparty/bulma.git/commitdiff
Add "unpkg" field to package.json
authorGeorge Cheng <Gerhut@GMail.com>
Thu, 6 Sep 2018 03:01:05 +0000 (11:01 +0800)
committerJeremy Thomas <bbxdesign@gmail.com>
Sun, 7 Oct 2018 16:41:14 +0000 (18:41 +0200)
This makes <https://unpkg.com/bulma> CDN redirect to the CSS file,
not "bulma.sass" as the fallback "main" field.

package.json

index 0643bc061f1e700d5c58ba0afdf5d1898221ac7e..8cd769e7628dce5aecba023b3a4009c727663db3 100644 (file)
@@ -5,6 +5,7 @@
   "author": "Jeremy Thomas <bbxdesign@gmail.com> (https://jgthms.com)",
   "description": "Modern CSS framework based on Flexbox",
   "main": "bulma.sass",
+  "unpkg": "css/bulma.css",
   "style": "bulma/css/bulma.min.css",
   "repository": {
     "type": "git",