Skip to content

Commit dee3b5d

Browse files
committed
Fix filesystem path loading
1 parent 769c574 commit dee3b5d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • packages/beasties-webpack-plugin/src

packages/beasties-webpack-plugin/src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ export default class BeastiesWebpackPlugin extends Beasties {
175175

176176
if (!sheet) {
177177
try {
178-
sheet = await this.readFile(this.compilation, filename)
178+
sheet = await this.readFile(filename)
179179
this.logger.warn(
180180
`Stylesheet "${relativePath}" not found in assets, but a file was located on disk.${
181181
this.options.pruneSource

0 commit comments

Comments
 (0)