Skip to content
This repository has been archived by the owner on Mar 8, 2023. It is now read-only.

Commit

Permalink
HARP-12466: Fix initialization of the webpack's stats. (#1894)
Browse files Browse the repository at this point in the history
The `stats` object requires tha exclude patterns to be relative
paths.

Signed-off-by: Roberto Raggi <roberto.raggi@here.com>
  • Loading branch information
robertoraggi authored and nzjony committed Oct 28, 2020
1 parent 1105e23 commit e7a1051
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion @here/harp-examples/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ const commonConfig = {
stats: {
all: false,
timings: true,
exclude: "/resources/",
exclude: "resources/",
errors: true,
entrypoints: true,
warnings: true
Expand Down
2 changes: 1 addition & 1 deletion @here/harp-webpack-utils/scripts/HarpWebpackConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ export function addHarpWebpackConfig(config?: Configuration, harpConfig?: HarpWe
stats: {
all: false,
timings: true,
exclude: "/resources/",
exclude: "resources/",
errors: true,
entrypoints: true,
warnings: true
Expand Down
2 changes: 1 addition & 1 deletion docs/GettingStartedAngular.md
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ const decoderConfig = {
stats: {
all: false,
timings: true,
exclude: "/resources/",
exclude: "resources/",
errors: true,
entrypoints: true,
warnings: true
Expand Down
2 changes: 1 addition & 1 deletion webpack.tests.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ const browserTestsConfig = {
stats: {
all: false,
timings: true,
exclude: "/resources/",
exclude: "resources/",
errors: true,
entrypoints: true,
warnings: true
Expand Down

0 comments on commit e7a1051

Please sign in to comment.