Skip to main content

Webpack

Development Environment

Using contentBase in the webpack configuration can help webpack-dev-server proxy the plugin directory, such as:

{
// ...
devServer: {
contentBase: './dist',
},
// ...
}