Skip to content

Commit 84bf870

Browse files
committed
fix(webpack): enable process.env.NODE_ENV inline
1 parent 89cacf0 commit 84bf870

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed

src/renderer/components/pages/NavWrapper.css

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,14 @@
77
}
88

99
.App-nav {
10-
flex: 1 1 auto;
11-
max-width: 15%;
10+
flex: 2 1 auto;
11+
max-width: 10%;
1212
padding-left: 0.5rem;
1313
background-color: #333;
1414
}
1515

1616
.App-main {
17-
flex: 5 1 auto;
18-
max-width: 85%;
17+
flex: 8 1 auto;
18+
max-width: 90%;
1919
height: 100%;
2020
}

src/renderer/components/project/LintResultList/LintResultListItem.css

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99
padding: 9px 28px 3px;
1010
position: relative;
1111
display: block;
12+
/* bottom line */
13+
border-bottom: 1px dotted #eaeaea;
1214
}
1315

1416
.LintResultListItem:hover {

webpack.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ module.exports = {
3232

3333
plugins: [
3434
new webpack.DefinePlugin({
35-
'process.env.NODE_ENV': JSON.stringify('development')
35+
'process.env.NODE_ENV': JSON.stringify(process.env.NODE_ENV)
3636
})
3737
],
3838
node: {

0 commit comments

Comments
 (0)