dance2die / calendar-dates

📆 Get a list of calendar dates with no external dependencies.
https://www.npmjs.com/package/calendar-dates
MIT License
14 stars 3 forks source link

Update dependency rollup-plugin-uglify to v4 - autoclosed #8

Closed renovate[bot] closed 6 years ago

renovate[bot] commented 6 years ago

This Pull Request updates devDependency rollup-plugin-uglify (source) from v3.0.0 to v4.0.0


Release Notes

v4 and back to es5

Compare Source

uglify-es is not supported anymore so we returned back to old school uglify-js. If you still want to transpile es6+ try rollup-plugin-terser. Terser is actively developed fork of uglify-es with the new name.

In this version we changed the way to import plugin. Now it looks like this

import { uglify } from 'rollup-plugin-uglify';

export default {
  ...
  plugins: [uglify()]
  ...
}

To see more prettier errors uglify shows also babel code frame

    > 1 | var = 1
        |    ^ Name expected

Error: Error transforming bundle with 'uglify' plugin: Name expected


This PR has been generated by Renovate Bot.