Fix build config to support Windows path separators and newlines

pull/1394/head
Brad Christensen 3 years ago
parent 1072e5778f
commit 556fc31000
  1. 3
      .prettierrc
  2. 2
      build/webpack.config.js

@ -3,5 +3,6 @@
"singleQuote": true,
"printWidth": 100,
"trailingComma": "none",
"quoteProps": "preserve"
"quoteProps": "preserve",
"endOfLine": "auto"
}

@ -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' },

Loading…
Cancel
Save