Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nexpie-grafana-theme
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Registry
Registry
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kornkitt Poolsup
nexpie-grafana-theme
Commits
6ea2d484
Unverified
Commit
6ea2d484
authored
Sep 04, 2019
by
kay delaney
Committed by
GitHub
Sep 04, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Webpack: Fix accidental double typechecking (#18881)
parent
aab224ef
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
8 deletions
+2
-8
scripts/webpack/webpack.common.js
+0
-6
scripts/webpack/webpack.dev.js
+2
-2
No files found.
scripts/webpack/webpack.common.js
View file @
6ea2d484
const
path
=
require
(
'path'
);
const
path
=
require
(
'path'
);
const
ForkTsCheckerWebpackPlugin
=
require
(
'fork-ts-checker-webpack-plugin'
);
module
.
exports
=
{
module
.
exports
=
{
target
:
'web'
,
target
:
'web'
,
...
@@ -93,9 +92,4 @@ module.exports = {
...
@@ -93,9 +92,4 @@ module.exports = {
},
},
},
},
},
},
plugins
:
[
new
ForkTsCheckerWebpackPlugin
({
checkSyntacticErrors
:
true
,
})
],
};
};
scripts/webpack/webpack.dev.js
View file @
6ea2d484
...
@@ -69,7 +69,7 @@ module.exports = (env = {}) =>
...
@@ -69,7 +69,7 @@ module.exports = (env = {}) =>
checkSyntacticErrors
:
true
,
checkSyntacticErrors
:
true
,
}),
}),
new
MiniCssExtractPlugin
({
new
MiniCssExtractPlugin
({
filename
:
"grafana.[name].[hash].css"
filename
:
'grafana.[name].[hash].css'
}),
}),
new
HtmlWebpackPlugin
({
new
HtmlWebpackPlugin
({
filename
:
path
.
resolve
(
__dirname
,
'../../public/views/error.html'
),
filename
:
path
.
resolve
(
__dirname
,
'../../public/views/error.html'
),
...
@@ -89,7 +89,7 @@ module.exports = (env = {}) =>
...
@@ -89,7 +89,7 @@ module.exports = (env = {}) =>
new
webpack
.
HotModuleReplacementPlugin
(),
new
webpack
.
HotModuleReplacementPlugin
(),
new
webpack
.
DefinePlugin
({
new
webpack
.
DefinePlugin
({
'process.env'
:
{
'process.env'
:
{
'NODE_ENV'
:
JSON
.
stringify
(
'development'
)
NODE_ENV
:
JSON
.
stringify
(
'development'
)
}
}
}),
}),
// new BundleAnalyzerPlugin({
// new BundleAnalyzerPlugin({
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment