Skip to content
This repository was archived by the owner on Oct 4, 2022. It is now read-only.

Commit cdc44ba

Browse files
committed
Move CSS files to more specific folder
This paves the way to use the `/dist` folder for publishing.
1 parent 21656ca commit cdc44ba

File tree

6 files changed

+5
-5
lines changed

6 files changed

+5
-5
lines changed

packages/yoast-components/css-dist/yoast-components.min.css

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/yoast-components/dist/yoast-components.min.css

-1
This file was deleted.

packages/yoast-components/grunt/config/postcss.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@ module.exports = {
88
],
99
},
1010
build: {
11-
src: "dist/yoast-components.min.css",
11+
src: "css-dist/yoast-components.min.css",
1212
},
1313
};

packages/yoast-components/grunt/config/sass.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ module.exports = {
55
},
66
build: {
77
files: {
8-
"dist/yoast-components.min.css": "css/all.scss",
9-
"dist/yoast-components-standalone.min.css": "css/standalone.scss",
8+
"css-dist/yoast-components.min.css": "css/all.scss",
9+
"css-dist/yoast-components-standalone.min.css": "css/standalone.scss",
1010
},
1111
},
1212
example: {

packages/yoast-components/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<meta charset="UTF-8">
55
<meta name="viewport" content="width=device-width, initial-scale=1">
66
<title>Yoast Components</title>
7-
<link rel="stylesheet" href="dist/yoast-components-standalone.min.css" />
7+
<link rel="stylesheet" href="css-dist/yoast-components-standalone.min.css" />
88
<link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/draft-js/0.10.5/Draft.min.css">
99
<link rel="stylesheet" type="text/css" href="/node_modules/draft-js-mention-plugin/lib/plugin.css">
1010
</head>

0 commit comments

Comments
 (0)