/babel-tsf

Babel Minifier for TSF WordPress plugin family.

Primary LanguageJavaScript

BabelJS for TSF files via NPM

This package helps you minify JS files via Babel for TSF product family, using NPM.

Installation

  1. Import this Git's files to a private folder location.
  2. Open Terminal.
  3. cd to folder.
  4. Enter: npm install.

Updating

  1. Open Terminal.
  2. cd to folder.
  3. Enter: npm update.

Usage

  1. Open Terminal.
  2. cd to folder.
  3. Enter: npm start.
  4. Open your favorite webbrowser.
  5. Go to localhost:8000/?file=C:\path\to\file-to-minify.js.
  6. The response in the browser will be the minified version of the file.

Issues

Babel may act up after processsing some files. To resolve that, stop the script (CTRL+C on Windows), restart it, and try again.