Skip to content

Commit

Permalink
fix: static path fix
Browse files Browse the repository at this point in the history
  • Loading branch information
atanasster committed Jul 20, 2020
1 parent e9fc88d commit 8e13d58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/webpack-configs/src/react/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ export const react: PresetType = (options?: PresetOptions) => {
publicPath: '/static',
outputPath: path.relative(
options?.distFolder || process.cwd(),
path.resolve(options?.staticFolder || process.cwd(), 'static'),
path.resolve(options?.staticFolder || process.cwd()),
),
},
},
Expand Down

0 comments on commit 8e13d58

Please sign in to comment.