Package Exports
- @ovh-ux/manager-webpack-dev-server
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@ovh-ux/manager-webpack-dev-server) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Manager Webpack Dev Server
OVH manager webpack development server configuration.
Usage
This configuration is meant to be merged with your webpack configuration using the webpack-merge library.
const merge = require('webpack-merge');
const devServer = require('manager-webpack-dev-server');
const devConfig = devServer.config(env);
module.exports = merge(yourWebpackConfig, devConfig);
Env
The env parameter is an object containing the following values:
const env = {
region: 'EU', // manager region (EU, CA, US)
local2API: false, // true to make 2API calls on local 8080 port
};