-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
renable and update PostCSS test case
- Loading branch information
1 parent
25f3970
commit b01d1a5
Showing
8 changed files
with
55 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 3 additions & 7 deletions
10
packages/cli/test/cases/build.config.postcss/postcss.config.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,5 @@ | ||
module.exports = { | ||
plugins: { | ||
'postcss-preset-env': { | ||
stage: 1 | ||
}, | ||
'postcss-nested': {}, | ||
'cssnano': {} | ||
} | ||
plugins: [ | ||
require('postcss-nested') | ||
] | ||
}; |
11 changes: 0 additions & 11 deletions
11
packages/cli/test/cases/build.config.postcss/src/pages/hello.md
This file was deleted.
Oops, something went wrong.
12 changes: 12 additions & 0 deletions
12
packages/cli/test/cases/build.config.postcss/src/pages/index.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<!DOCTYPE html> | ||
<html lang="en" prefix="og:http://ogp.me/ns#"> | ||
|
||
<head> | ||
<link rel="stylesheet" href="/styles/main.css"></link> | ||
</head> | ||
|
||
<body> | ||
<h1>Hello World!</h1> | ||
</body> | ||
|
||
</html> |
3 changes: 0 additions & 3 deletions
3
packages/cli/test/cases/build.config.postcss/src/pages/index.md
This file was deleted.
Oops, something went wrong.
8 changes: 8 additions & 0 deletions
8
packages/cli/test/cases/build.config.postcss/src/styles/main.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
body { | ||
color: red; | ||
|
||
& h1 { | ||
color: blue; | ||
} | ||
|
||
} |