mirror of
https://github.com/nasa/openmct.git
synced 2025-06-17 06:38:17 +00:00
VISTA compatibility issues (#2291)
* Build config changes necessary to work with VISTA * Fixes to TelemetryTableRow to address bug in VISTA * Fixed sass-fast-loader version to avoid https://github.com/yibn2008/fast-sass-loader/issues/47 * Reverted default theme
This commit is contained in:
@ -83,8 +83,19 @@ const webpackConfig = {
|
||||
loader: 'file-loader',
|
||||
options: {
|
||||
name: '[name].[ext]',
|
||||
useRelativePath: true,
|
||||
outputPath: 'assets/'
|
||||
outputPath(url, resourcePath, context) {
|
||||
if (/\.(jpg|jpeg|png|svg)$/.test(url)) {
|
||||
return `images/${url}`
|
||||
}
|
||||
if (/\.ico$/.test(url)) {
|
||||
return `icons/${url}`
|
||||
}
|
||||
if (/\.(woff2?|eot|ttf)$/.test(url)) {
|
||||
return `fonts/${url}`
|
||||
} else {
|
||||
return `${url}`;
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
|
Reference in New Issue
Block a user