Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

major: upgrade-webpack #1650

Draft
wants to merge 5 commits into
base: dev
Choose a base branch
from
Draft
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
rename var
  • Loading branch information
elevatebart committed Mar 14, 2024
commit 067ec13af3a122d429b076eac83a4ae06eb389c1
6 changes: 3 additions & 3 deletions packages/vue-styleguidist/src/scripts/create-server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,12 @@ export default function createServer(
: webpackNormal

const compiler = webpack(webpackConfig)
const devServer = new WebpackDevServer(webpackDevServerConfig, compiler)
const app = new WebpackDevServer(webpackDevServerConfig, compiler)

// User defined customizations
if (config.configureServer) {
config.configureServer(devServer, env)
config.configureServer(app, env)
}

return { app: devServer, compiler }
return { app, compiler }
}