mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2024-11-22 16:56:30 -06:00
Fixed an issue where preview images for the themes are not visible.
refs #6207
This commit is contained in:
parent
751b6c28b5
commit
a5a83da045
@ -69,7 +69,7 @@ const copyFiles = new CopyPlugin({
|
||||
pgadminThemesJson,
|
||||
{
|
||||
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
|
||||
// Ref:https://webpack.js.org/concepts/plugins/#components/sidebar/sidebar.jsx
|
||||
plugins: PRODUCTION ? [
|
||||
plugins: [
|
||||
extractStyle,
|
||||
sourceMapDevToolPlugin,
|
||||
]: [
|
||||
extractStyle,
|
||||
sourceMapDevToolPlugin,
|
||||
],
|
||||
]
|
||||
};
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user