Skip to content

Commit ea442d9

Browse files
author
Ahmad Awais
committed
🐛 FIX: Array syntax
1 parent 64a8d8d commit ea442d9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/babel-preset-cgb/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ module.exports = {
2525
],
2626
plugins: [
2727
// class { handleClick = () => { } }.
28-
require.resolve( 'babel-plugin-transform-class-properties' ),
28+
[ require.resolve( 'babel-plugin-transform-class-properties' ) ],
2929
// The following two plugins use Object.assign directly, instead of Babel's
3030
// extends helper. Note that this assumes `Object.assign` is available.
3131
// { ...todo, completed: true }

0 commit comments

Comments
 (0)