web-component-tester-proxy

1.0.0 • Public • Published

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.

Package Sidebar

Install

npm i web-component-tester-proxy

Weekly Downloads

0

Version

1.0.0

License

ISC

Last publish

Collaborators

  • roxus