rollup-plugin-vueify-lodash4

1.0.0 • Public • Published

rollup-plugin-vueify-lodash4

This is a plugin for Rollup that will mangle the Lodash v4 module to respect Vue's mutation interceptors. It will transform property assignments to Vue.set, deletions to Vue.delete, and make sure that Lodash uses Vue's patched splice method (and others).

This is done via a set of regexes and thus is inherently brittle. It only works on Lodash v4, and only on the unminifed all-inclusive module. It adds a Vue import at the top of the module, so make sure it gets run through rollup-plugin-commonjs first!

Readme

Keywords

none

Package Sidebar

Install

npm i rollup-plugin-vueify-lodash4

Weekly Downloads

1

Version

1.0.0

License

MIT

Unpacked Size

3.75 kB

Total Files

4

Last publish

Collaborators

  • pkaminski