File tree Expand file tree Collapse file tree 2 files changed +17
-0
lines changed Expand file tree Collapse file tree 2 files changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -28,6 +28,7 @@ _367 TILs and counting..._
28
28
* [ tmux] ( #tmux )
29
29
* [ Unix] ( #unix )
30
30
* [ Vim] ( #vim )
31
+ * [ Webpack] ( #webpack )
31
32
32
33
---
33
34
@@ -443,6 +444,10 @@ _367 TILs and counting..._
443
444
- [ Whole Line Auto-Completion] ( vim/whole-line-auto-completion.md )
444
445
- [ Wrap With Some Room] ( vim/wrap-with-some-room.md )
445
446
447
+ ## Webpack
448
+
449
+ - [ Use A Specific Config File] ( webpack/use-a-specific-config-file.md )
450
+
446
451
## Usage
447
452
448
453
The ` .vimrc ` file for this project contains a function ` CountTILs ` that can
Original file line number Diff line number Diff line change
1
+ # Use A Specific Config File
2
+
3
+ When running ` webpack ` , the default config file that it looks for is
4
+ ` webpack.config.js ` . If you have a project that uses different webpack
5
+ config files for different environments, you will need to specify which
6
+ config file webpack should use. The ` --config ` flag can be used with
7
+ ` webpack ` to specify that file. For instance, if you want to use your
8
+ production webpack config, run a command like the following:
9
+
10
+ ```
11
+ $ webpack --config webpack.config.production.js
12
+ ```
You can’t perform that action at this time.
0 commit comments