Skip to content

Commit

Permalink
Add babel to svg rule
Browse files Browse the repository at this point in the history
  • Loading branch information
chrislarrycarl committed Mar 18, 2020
1 parent 77f0ff8 commit b277f16
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,15 @@ module.exports = ( env = 'development' ) => {
],
}, {
test: /\.svg$/,
loader: 'vue-svg-loader',
use: [
{
loader: 'babel-loader',
options: babelConfig,
},
{
loader: 'vue-svg-loader',
},
]
}, {
test: /\.(woff(2)?|ttf|eot)(\?v=\d+\.\d+\.\d+)?$/,
use: [{
Expand Down

0 comments on commit b277f16

Please sign in to comment.