Skip to content

silentport/proxyProductionPlugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

proxyProductionPlugin

Run the built app by webpack using localhost

Build Status undefined

install

npm i proxy-production-webpack-plugin -D

usage

const ProxyProductionPlugin = require('proxy-production-webpack-plugin');

new ProxyProductionPlugin({
  host: 'http://sandbox.api.puri.intl.miui.com', // server host
  publicPath: 'http://sandbox.h5.puri.intl.miui.com/puri', // static resources path
  port: 8000, //localhost port
  entry: /^_puri/, // router for index
  messages: ['http://localhost:8000/_puri/share/v1/topic/Hindi/IN/en/20181121'], // test link
});

About

Run the built app by webpack using localhost

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published