Skip to content

Commit

Permalink
fix(vendor): replace all square brackets in "vendor" for use in CSS, …
Browse files Browse the repository at this point in the history
…not just the first
  • Loading branch information
djcsdy committed Mar 29, 2019
1 parent cebf2ba commit caa57ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ function WebpackConfig(projectSource: WebpackConfig.ProjectSource): (env: any) =
? "sv"
: project.vendor;

const vendorCssId = vendor.replace(/[[\]]/, "_");
const vendorCssId = vendor.replace(/[[\]]/g, "_");

const entry: WebpackConfig.Entry = project.entry == null
? "./index"
Expand Down

0 comments on commit caa57ce

Please sign in to comment.