Skip to content

Commit

Permalink
fix(clayui.com): Don't need to copy svg files over anymore. Copy stat…
Browse files Browse the repository at this point in the history
…ic files from @clayui/css source instead of node_modules
  • Loading branch information
pat270 committed Aug 20, 2020
1 parent 85f76db commit 4881b5c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions clayui.com/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
"license": "MIT",
"scripts": {
"copy:clay-css": "yarn copy:clay-css-icons && yarn copy:clay-css-js && yarn copy:clay-css-site-images && yarn copy:clay-css-images",
"copy:clay-css-icons": "cpx '../node_modules/@clayui/css/lib/images/icons/*.svg' static/images/icons && node svg-icons.js",
"copy:clay-css-js": "cpx '../node_modules/@clayui/css/lib/js/*.{js,js.map}' static/js",
"copy:clay-css-images": "cpx '../node_modules/@clayui/css/src/images/images/*.{gif}' static/images",
"copy:clay-css-site-images": "cpx '../node_modules/@clayui/css/src/content/site-images/*.svg' static/images",
"copy:clay-css-icons": "node svg-icons.js",
"copy:clay-css-js": "cpx '../@clayui/css/lib/js/*.{js,js.map}' static/js",
"copy:clay-css-images": "cpx '../@clayui/css/src/images/images/*.{gif}' static/images",
"copy:clay-css-site-images": "cpx '../@clayui/css/src/content/site-images/*.svg' static/images",
"develop": "yarn copy:clay-css && gatsby develop",
"build": "yarn copy:clay-css && gatsby build",
"serve": "gatsby serve"
Expand Down

0 comments on commit 4881b5c

Please sign in to comment.