Skip to content

Commit

Permalink
fix: pass all options to loader context
Browse files Browse the repository at this point in the history
new postcss were missing
  • Loading branch information
pi0 committed Nov 22, 2023
1 parent 0cff10b commit ea5ba97
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions src/make.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,13 +54,7 @@ export async function mkdist(
});

// Create loader
const { loadFile } = createLoader({
format: options.format,
ext: options.ext,
declaration: options.declaration,
esbuild: options.esbuild,
loaders: options.loaders,
});
const { loadFile } = createLoader(options);

// Use loaders to get output files
const outputs: OutputFile[] = [];
Expand Down

0 comments on commit ea5ba97

Please sign in to comment.