Skip to content

Commit 66d856e

Browse files
authored
Merge pull request #3824 from AlejandroArcoPu/patch-1
fix: contentBase is deprecated in Webpack v5
2 parents 36397f5 + 0bcdab1 commit 66d856e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/content/7/es/part7d.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -515,7 +515,9 @@ const config = {
515515
},
516516
// highlight-start
517517
devServer: {
518-
contentBase: path.resolve(__dirname, 'build'),
518+
static: {
519+
directory: path.resolve(__dirname, 'build'),
520+
},
519521
compress: true,
520522
port: 3000,
521523
},

0 commit comments

Comments
 (0)