Skip to content

Commit 963cb58

Browse files
committed
fix temeConfigPath for theme in project root without src.
1 parent f36da97 commit 963cb58

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

frontend/razzle.extend.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ const plugins = (defaultPlugins) => {
22
return defaultPlugins;
33
};
44
const modify = (config, { target, dev }, webpack) => {
5-
const themeConfigPath = `${__dirname}/src/theme/theme.config`;
5+
const themeConfigPath = `${__dirname}/theme/theme.config`;
66
config.resolve.alias['../../theme.config$'] = themeConfigPath;
77
config.resolve.alias['../../theme.config'] = themeConfigPath;
88

0 commit comments

Comments
 (0)