web-component-tester-proxy
v1.0.0
Published
A minimal proxy plugin for web-component-tester
Downloads
2
Readme
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.