jonschlinkert/dashify

No longer works in ie11

hipstersmoothie opened this issue · 3 comments

The use of fat arrows has broken my builds for ie11

Correction: your build is broken because you haven't learned how to transpile es6 for the browser yet.

Correction: It's not common practice to babel-ify your npm dependancies. You're now the only special snowflake in our config that needs to be transpiled to es5. Good job bro

{
  test: /\.js$/,
  exclude: /node_modules(?!\/dashify)/,
  use: 'babel-loader'
},

It looks like the ES6 arrow function was added in this commit.