dxw / wordpress-template

A template repository for new WordPress projects.
4 stars 3 forks source link

Use rollup.js instead of grunt/browserify/etc #33

Open mallorydxw opened 3 years ago

mallorydxw commented 3 years ago

@erbridge recommended using this

https://rollupjs.org/guide/en/

anthonyomalley commented 3 years ago

On thing missing from Wilton Park was https://github.com/gruntjs/grunt-contrib-watch which allows code to be compiled and the browser to be reloaded automatically when a change is made within certain folders (e.g. the scss folder).

It looks like https://www.npmjs.com/package/rollup-plugin-livereload is the equivalent rollup.js plugin.

mallorydxw commented 3 years ago

Another requirement would be to rename the output files when they change (see also #12).

erbridge commented 3 years ago

You could also consider Parcel.