Skip to content

Commit

Permalink
fix: remove hardcoded webpack publich path for dev mode
Browse files Browse the repository at this point in the history
  • Loading branch information
vision-git-robot committed Jun 4, 2019
1 parent d5ce87a commit a8b644f
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion packages/a8k/src/plugins/command-dev.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ export default class DevCommand {
process.env.NODE_ENV = ENV_DEV;
context.options.inspectWebpack = inspectWebpack;
context.internals.mode = BUILD_ENV.DEVELOPMENT;
context.config.publicPath = ''; // 开发模式下面不用publicPath
if (port) {
context.config.devServer.port = port;
}
Expand Down

0 comments on commit a8b644f

Please sign in to comment.