Skip to content

Commit

Permalink
fix: static folder
Browse files Browse the repository at this point in the history
  • Loading branch information
atanasster committed Mar 1, 2021
1 parent 2476aa2 commit b55a69d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion integrations/react-router-integration/src/webpack-build.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ export const withComponentControls = ({
...defaultCompileProps,
configPath: '.config',
distFolder,
staticFolder: path.join(distFolder, 'static'),
staticFolder: path.join(options?.distFolder || distFolder, 'static'),
...options,
};
const onBundle: CompilerCallbackFn = async ({ store }) => {
Expand Down

0 comments on commit b55a69d

Please sign in to comment.