-
-
Notifications
You must be signed in to change notification settings - Fork 194
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add option additionaldata (#374)
BREAKING CHANGE: `prependData` and `appendData` option were removed in favor the `additionaldata` option
- Loading branch information
1 parent
3625cb8
commit 2785803
Showing
12 changed files
with
100 additions
and
241 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`additionalData option should work additionalData data as function: css 1`] = ` | ||
"/* RelativePath: additional-data.less; */ | ||
.background { | ||
color: coral; | ||
} | ||
.custom-class { | ||
color: red; | ||
} | ||
" | ||
`; | ||
|
||
exports[`additionalData option should work additionalData data as function: errors 1`] = `Array []`; | ||
|
||
exports[`additionalData option should work additionalData data as function: warnings 1`] = `Array []`; | ||
|
||
exports[`additionalData option should work additionalData data as string: css 1`] = ` | ||
".background { | ||
color: coral; | ||
} | ||
" | ||
`; | ||
|
||
exports[`additionalData option should work additionalData data as string: errors 1`] = `Array []`; | ||
|
||
exports[`additionalData option should work additionalData data as string: warnings 1`] = `Array []`; |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
Oops, something went wrong.