-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(loader): support es modules (#9)
BREAKING CHANGE: requires file-loader >=5.0.1
- Loading branch information
1 parent
8775de5
commit a69c3f6
Showing
4 changed files
with
17 additions
and
42 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,12 @@ | ||
// https://prettier.io/docs/en/options.html | ||
|
||
module.exports = { | ||
// Enables semicolons at the end of statements | ||
semi: true, | ||
// Formats strings with single quotes ('') instead of quotes ("") | ||
singleQuote: true, | ||
// Adds a trailing comma at the end of all lists (including function arguments) | ||
trailingComma: 'all', | ||
// Adds parentheses around all functions arguments lists | ||
arrowParens: 'always', | ||
}; |
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