Skip to content

Commit

Permalink
fix build error due to missing babel plugins (#661) (#664)
Browse files Browse the repository at this point in the history
Signed-off-by: Yulong Ruan <ruanyl@amazon.com>
(cherry picked from commit efb361b)

Co-authored-by: Yulong Ruan <ruanyu1@gmail.com>
  • Loading branch information
opensearch-trigger-bot[bot] and ruanyl committed Dec 27, 2023
1 parent 68ca890 commit c503745
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions babel.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ module.exports = {
require('@babel/preset-typescript'),
],
plugins: [
require('@babel/plugin-proposal-class-properties'),
require('@babel/plugin-proposal-object-rest-spread'),
require('@babel/plugin-transform-class-properties'),
require('@babel/plugin-transform-object-rest-spread'),
['@babel/plugin-transform-modules-commonjs', { allowTopLevelThis: true }],
[require('@babel/plugin-transform-runtime'), { regenerator: true }],
],
Expand Down

0 comments on commit c503745

Please sign in to comment.