Babel,使用不带polyfill的Symbol

dth*_*ree 6 node.js babeljs

我正在使用Babel 6和babel-preset-es2015预设.

在编译代码时,它包含对Symbols的引用,这在Node <=中不受支持v0.12.0.

    throw _iteratorError;

ReferenceError: Symbol is not defined
Run Code Online (Sandbox Code Playgroud)

当我谷歌这个时,我一直看到我需要Babel polyfill.

很大.我不想要它.我只想让Babel把所有东西都转换成直接的ES5.

我错过了什么?