Skip to content

Commit

Permalink
Remove hash from output file names
Browse files Browse the repository at this point in the history
  • Loading branch information
bsokol-wl committed Apr 1, 2024
1 parent ce341ee commit 815600f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/webpack-configs/src/build.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ type MiniCssExtractPluginOptions = NonNullable<ConstructorParameters<typeof Mini

export function defineMiniCssExtractPluginConfig(options: MiniCssExtractPluginOptions = {}): MiniCssExtractPluginOptions {
const {
filename = "[name].[fullhash].css",
filename = "[name].css",
...rest
} = options;

Expand Down Expand Up @@ -141,7 +141,7 @@ export function defineBuildConfig(swcConfig: SwcConfig, options: DefineBuildConf
entry,
output: {
path: outputPath,
filename: "[name].[fullhash].js",
filename: "[name].js",
publicPath,
clean: true
},
Expand Down

0 comments on commit 815600f

Please sign in to comment.