Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
transpile js using babel
  • Loading branch information
kajan committed Feb 18, 2021
1 parent e269174 commit 5568707
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion AspNetCoreVueMpa.Web/ClientApp/webpack.config.js
Expand Up @@ -56,7 +56,19 @@ module.exports = {
{
test: /\.(png|jpe?g|gif)$/i,
type: 'asset/resource',
}
},
{
test: /\.js$/,
exclude: /node_modules/,
use: {
loader: 'babel-loader',
options: {
presets: [
['@babel/preset-env', { targets: "defaults" }],
]
}
},
},
]
},
plugins: [
Expand Down

0 comments on commit 5568707

Please sign in to comment.