0.0.2 • Published 5 years ago

react-static-plugin-uglify v0.0.2

Weekly downloads
3
License
MIT
Repository
-
Last release
5 years ago

react-static-plugin-uglify

A Localization-Plugin for React-Static. This enables the uglify-option in the webpack-build-process. It only uglify's if a production-build is started (react-static build).

This plugin was built to get a react-static-website as small as possible, every byte counts for the loading-speed!

Installation

In an existing react-static site run:

$ npm i react-static-plugin-uglify

Example

Then add the plugin to your static.config.js:

export default {
  plugins: [
    require.resolve('react-static-plugin-uglify'),
  ]
}

And you are done! It's that simple.

0.0.2

5 years ago

0.0.1

5 years ago