mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Fixed an issue where preview images for the themes are not visible.
refs #6207
This commit is contained in:
committed by
Akshay Joshi
parent
751b6c28b5
commit
a5a83da045
@@ -69,7 +69,7 @@ const copyFiles = new CopyPlugin({
|
|||||||
pgadminThemesJson,
|
pgadminThemesJson,
|
||||||
{
|
{
|
||||||
from: './pgadmin/static/scss/resources/**/*.png',
|
from: './pgadmin/static/scss/resources/**/*.png',
|
||||||
to: outputPath + '/img',
|
to: 'img/[name].[ext]',
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
});
|
});
|
||||||
@@ -326,13 +326,10 @@ var getThemeWebpackConfig = function(theme_name) {
|
|||||||
},
|
},
|
||||||
// Define list of Plugins used in Production or development mode
|
// Define list of Plugins used in Production or development mode
|
||||||
// Ref:https://webpack.js.org/concepts/plugins/#components/sidebar/sidebar.jsx
|
// Ref:https://webpack.js.org/concepts/plugins/#components/sidebar/sidebar.jsx
|
||||||
plugins: PRODUCTION ? [
|
plugins: [
|
||||||
extractStyle,
|
extractStyle,
|
||||||
sourceMapDevToolPlugin,
|
sourceMapDevToolPlugin,
|
||||||
]: [
|
]
|
||||||
extractStyle,
|
|
||||||
sourceMapDevToolPlugin,
|
|
||||||
],
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user