-
Notifications
You must be signed in to change notification settings - Fork 12k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(@angular-devkit/build-angular): add
postcss-preset-env
with st…
…age 3 features With this change we add `postcss-preset-env` with stage 3 features. This stage includes support for: - all property - break properties - custom properties - font-variant property - gap properties - media query ranges See https://preset-env.cssdb.org/features#stage-3
- Loading branch information
1 parent
f424529
commit 9337617
Showing
6 changed files
with
383 additions
and
27 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
import { expectFileToMatch, replaceInFile, writeMultipleFiles } from '../../../utils/fs'; | ||
import { ng } from '../../../utils/process'; | ||
|
||
export default async function () { | ||
await writeMultipleFiles({ | ||
'src/styles.css': `a { | ||
all: initial; | ||
}`, | ||
}); | ||
|
||
// Enable IE 11 support | ||
await replaceInFile( | ||
'.browserslistrc', | ||
'not IE 11', | ||
'IE 11', | ||
); | ||
|
||
await ng('build'); | ||
await expectFileToMatch('dist/test-project/styles.css', 'z-index: auto'); | ||
await expectFileToMatch('dist/test-project/styles.css', 'all: initial'); | ||
} |
Oops, something went wrong.