mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-11 08:07:26 +02:00
feat & refactor: webpack-serve-waitpage and lint
This commit is contained in:
parent
82be417197
commit
d9a86a54c1
9 changed files with 75 additions and 54 deletions
|
@ -10,7 +10,9 @@ module.exports = function createBaseConfig(props) {
|
|||
config
|
||||
.mode(isProd ? 'production' : 'development')
|
||||
.output.path(outDir)
|
||||
.filename(isProd ? 'static/js/[name].[chunkhash].js' : 'static/js/[name].js')
|
||||
.filename(
|
||||
isProd ? 'static/js/[name].[chunkhash].js' : 'static/js/[name].js'
|
||||
)
|
||||
.publicPath(isProd ? publicPath : '/');
|
||||
|
||||
config.resolve
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue