Skip to content

Commit

Permalink
feat(url): automatically inline assets in inject mode
Browse files Browse the repository at this point in the history
  • Loading branch information
Anidetrix committed May 20, 2020
1 parent 74fcd39 commit db7dc9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/loaders/postcss/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ const loader: Loader<PostCSSLoaderOptions> = {
const plugins = [
...[
options.import && postcssImport({ extensions: options.extensions, ...options.import }),
options.url && postcssUrl(options.url),
options.url && postcssUrl({ inline: Boolean(options.inject), ...options.url }),
].filter(booleanFilter),
...(options.postcss.plugins ?? []),
...(config.plugins ?? []),
Expand Down

0 comments on commit db7dc9a

Please sign in to comment.