Skip to content

v1.0.0 babel-preset-focus

Latest
Compare
Choose a tag to compare
@Hartorn Hartorn released this 31 Oct 18:21
7fa1bbf

What's new ?

Breaking changes :

  • focus-polyfill file does not exist anymore. Polyfill is now handled by webpack-focus directly, without any need to add it inside your project
  • an environnement variable LEGACY_EXPORTS has been created. You should put it at true only if you are using require or module.exports in your project
  • an environnement variable LEGACY_LODASH has been created. You should put it at true only if you are using lodash 3.x.x in your project
  • the environnement variable NODE_ENV must be set to 'development' or 'production' when using this presets

Other changes :

  • Massive update of dependencies
  • Using babel-preset-env, so the code transformation can be determined depending on target browers
  • Adding hot-loader dependency for handling hot reload with webpack