Archived
1
0

Fix some styling issues

This commit is contained in:
Asher
2019-01-22 16:39:20 -06:00
committed by Kyle Carberry
parent 8c21abd2f9
commit b1cd5c142f
3 changed files with 39 additions and 34 deletions

View File

@ -22,7 +22,7 @@ module.exports = (options = {}) => ({
loader: "ignore-loader",
}],
}, {
test: /electron-browser.+\.html$/,
test: /electron-browser.+\.html$|code\/electron-browser\/.+\.css/,
use: [{
loader: "ignore-loader",
}],
@ -35,7 +35,9 @@ module.exports = (options = {}) => ({
}],
test: /(^.?|\.[^d]|[^.]d|[^.][^d])\.tsx?$/,
}, {
exclude: /test/,
// The CSS in code/electron-browser is supposed to be served in separate
// pages so including it interferes with styles in vscode.
exclude: /test|code\/electron-browser\/.+\.css/,
test: /\.s?css$/,
// This is required otherwise it'll fail to resolve CSS in common.
include: root,