-
Notifications
You must be signed in to change notification settings - Fork 83
Conversation
+ update to latest eslint-config-webpack
Codecov Report
@@ Coverage Diff @@
## master #126 +/- ##
==========================================
+ Coverage 93% 96.65% +3.65%
==========================================
Files 7 7
Lines 300 269 -31
==========================================
- Hits 279 260 -19
+ Misses 21 9 -12
Continue to review full report at Codecov.
|
cli.js
Outdated
@@ -14,7 +12,7 @@ const cosmiconfig = require('cosmiconfig'); | |||
const debug = require('debug')('webpack-serve'); | |||
const meow = require('meow'); | |||
const merge = require('lodash/merge'); | |||
const resolveModule = require('resolve').sync; | |||
// const resolveModule = require('resolve').sync; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you remove the comment?
cli.js
Outdated
|
||
const flags = Object.assign({}, cli.flags); | ||
|
||
if (flags.require) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why did you remove this option?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it's handled by config-loader
downstream
lib/options.js
Outdated
'use strict'; | ||
|
||
const path = require('path'); | ||
// const path = require('path'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not needed
b5a34fb
to
ca9aaaf
Compare
ca9aaaf
to
194f1df
Compare
8a30514
to
34b9d98
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good!, It is don't break serve
options from webpack.config.js
?
@evilebottnawi it does not break |
+ update to latest eslint-config-webpack
This PR contains a:
Motivation / Use-Case
@webpack-contrib/config-loader
provides many advantages for loading webpack configs, including supporting all export formats of config that can be used out of the gate bywebpack-cli
andwebpack-command
. It also allows for require hooks for loading configs, and for different file formats for config files.Breaking Changes
None
Additional Info