Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Aug 8, 2019. It is now read-only.
/docsPublic archive

Usage with Visual Studio

Ilya Pirozhenko edited this pageDec 25, 2015 ·6 revisions

Usage with Visual Studio

For users of Visual Studio 2015, there's an extension available for Task Runner Explorerhere. For older versions of Visual Studio, it is a simple task to integrate Visual Studio with Webpack. All you need to do is use the external tool feature. After following the instructions below, you'll see a new command button on the ribbon within the IDE. Clicking the button will toggle Webpack's watch mode on and off. When turned on, a change to any bundle dependencies will trigger the Webpack build process. The output will appear within Visual Studio's Output window.

You can add an external tool to the Tools menu.

  1. Open the External Tools dialog box and click Add.
  2. Title: webpack
  3. Command: The path to thewebpack.cmd file. Assuming Webpack was installed globally with npm, the path is:C:\Users\{{username}}\AppData\Roaming\npm\webpack.cmd
  4. Arguments:-w (can also specify otherCLI options, such as--display-modules)
  5. CheckUse Output window

Visual Studio External Tool

Now add to your toolbar

  1. On the menu bar, right click and selectCustomize....
  2. Click on theCommands tab and click onToolBar radio button to select the newly created external tool.Visual Studio customize toolbar
  3. Select Standard and click onAdd Command ... button.
  4. On the left lit item, selectTools and than select theExternal Command X item where X is the index of your tool that appears in theTools menu (starting index => 1). In my exampleExternal Command 6.Visual Studio customize toolbar
  5. ClickOk and thenClose.

webpack 👍

Clone this wiki locally

[8]ページ先頭

©2009-2025 Movatter.jp