Skip to content

Commit

Permalink
Fix build config to support Windows path separators and newlines
Browse files Browse the repository at this point in the history
  • Loading branch information
bradchristensen committed Jan 18, 2020
1 parent 1072e57 commit 556fc31
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .prettierrc
Expand Up @@ -3,5 +3,6 @@
"singleQuote": true,
"printWidth": 100,
"trailingComma": "none",
"quoteProps": "preserve"
"quoteProps": "preserve",
"endOfLine": "auto"
}
2 changes: 1 addition & 1 deletion build/webpack.config.js
Expand Up @@ -131,7 +131,7 @@ function config(options) {
]
},
{
test: /fonts\/.*\.(woff|ttf|eot|svg)$/,
test: /fonts[\\/].*\.(woff|ttf|eot|svg)$/,
use: ['url-loader', 'ignore-loader']
},
{ test: /\.woff2$/, loader: 'url-loader' },
Expand Down

0 comments on commit 556fc31

Please sign in to comment.