Skip to content

Commit

Permalink
added some config setting for babel to deal with warning messages whe…
Browse files Browse the repository at this point in the history
…n compiling assets
  • Loading branch information
briri committed Jul 5, 2022
1 parent d6322ef commit 685cd92
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions babel.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,24 @@ module.exports = function(api) {
'@babel/plugin-syntax-dynamic-import',
isTestEnv && 'babel-plugin-dynamic-import-node',
'@babel/plugin-transform-destructuring',
[
'@babel/plugin-proposal-private-methods',
{
loose: true
}
],
[
'@babel/plugin-proposal-class-properties',
{
loose: true
}
],
[
'@babel/plugin-proposal-private-property-in-object',
{
loose: true
}
],
[
'@babel/plugin-proposal-object-rest-spread',
{
Expand Down

0 comments on commit 685cd92

Please sign in to comment.