1.0.0 • Published 8 years ago

web-component-tester-proxy v1.0.0

Weekly downloads
2
License
ISC
Repository
github
Last release
8 years ago

Web-Component-Tester-Proxy

A minimal proxy plugin for web-component-tester

Installation from a patched release 0.10.1

npm install --save-dev web-component-tester-proxy

Basic Usage

Add the following configuration to web-component-tester's config file.

Example

To proxy URLS starting with '/api' to the host:

module.exports = {
  plugins: {
    proxy: {
      routes: [
	 '/api': 'http://myapi',
      ]
    }
  }
}

Options

Below are the available configuration options:

routes

An array with the routes.