Skip to content

Commit

Permalink
add publicPath for minicssextract loader
Browse files Browse the repository at this point in the history
  • Loading branch information
borisding committed Jul 1, 2021
1 parent 5d92e7d commit eb0be89
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,10 @@ const getStyleLoaders = (cssLoaderOptions = {}) => {
const sourceMap = !!isDev;
return [
{
loader: MiniCssExtractPlugin.loader
loader: MiniCssExtractPlugin.loader,
options: {
publicPath
}
},
{
loader: require.resolve('css-loader'),
Expand Down

0 comments on commit eb0be89

Please sign in to comment.