proxy-polyfill-loader
v1.0.5
Published
proxy poly fill loader for webpack
Downloads
66
Maintainers
Readme
proxy-polyfill-loader
proxy poly fill loader for webpack
Installation
npm install proxy-polyfill-loader --save-dev
Usage
Apply the proxy loader as preLoader in your webpack configuration: For type script provide query param type=ts (proxy-polyfill-loader?type=ts)
module.exports = {
module: {
preLoaders: [
{
test: /\.ts$/,
loader: 'proxy-polyfill-loader'
}
]
}
}
Proxy fill
Added by proxy-polyfill (https://github.com/GoogleChrome/proxy-polyfill) module es5 standard transpilation can be transpiled by following commands
npm install
npm run transpile-proxy