Closed teohhanhui closed 8 years ago
Presets in the plugin reference modules to load the presets from with SystemJS (System.import('babel-preset-es2015')
). By default the plugin comes with the es2015 preset, you don't need to provide it at all.
Yes, I'm aware that it comes by default with es2015 (except for Symbol, right?) and stage3 but that's not the issue here.
Trying to load those presets shouldn't cause the whole thing to break. (At least put a visible warning somewhere if that can't be fixed?)
causes
require is not a function