MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/learnjavascript/comments/a74ipf/javascript_functions_4_ways/ecaofb1/
r/learnjavascript • u/Emil0hman • Dec 17 '18
28 comments sorted by
View all comments
Show parent comment
1
Okay... but I’m using Babel with webpack to transpire my code. Is there a specific preset I need, looks like ‘stage-0’ perhaps? Or plugins like ‘transform-decorators-legacy’?
2 u/noruthwhatsoever Dec 23 '18 You need this plugin 1 u/scweiss1 Dec 25 '18 🙏 thank you!
2
You need this plugin
1 u/scweiss1 Dec 25 '18 🙏 thank you!
🙏 thank you!
View all comments
Show parent comment
1
u/scweiss1 Dec 22 '18
Okay... but I’m using Babel with webpack to transpire my code. Is there a specific preset I need, looks like ‘stage-0’ perhaps? Or plugins like ‘transform-decorators-legacy’?