웹팩 cli를 4.1.0에서 4.5.0 in/assets로 증가
14576 단어 phlink
묘사
⚠️ 신뢰성 미리보기가 비활성화됨⚠️이 인출 요청은 Correlot Preview에서 만들었습니다. Correlot Preview로 업그레이드되었습니다.이것은
dependabot
명령에 응답하지 않고, 새 버전을 찾을 때 자동으로 닫히지 않는다는 것을 의미한다.이 요청을 닫으면 다음 업데이트를 검사할 때 다시 만들 수 있습니다. 모든 것이 예상대로 진행될 것입니다.
4.1.0에서 4.5.0까지의 요동webpack-cli.
릴리즈 노트
출처webpack-cli's releases.
v4。5
4.5.0 (2021-02-02)
필기
- now you can use
webpack.config.mjs
andwebpack.config.js
with{ "type": "module" }
inpackage.json
- you can avoid using the
cross-env
package:Before:
{ "scripts": { "build": "cross-env NODE_ENV=production webpack --config build/webpack.config.js" } }
Now (you can remove the
cross-env
if you don't use it somewhere else):{ "scripts": { "build": "webpack --node-env=production --config build/webpack.config.js" } }
- the
mode
option respect the--node-env
option if you don't set themode
option explicit using CLI options or in configuration(s), i.e.--node-env production
setprocess.env.NODE_ENV
andmode
toproduction
취약점 수리
- avoid deprecation message (9d6dbda)
- error message on invalid plugin options (#2380) (f9ce1d3)
- improve description for 'configtest' command (#2379) (311bae3)
특징.
- add the
--node-env
flag (#2388) (e5126f1)- entries syntax (#2369) (6b31614)
- support ES module configuration format (#2381) (aebdbbc)
v4。4
4.4.0 (2021-01-19)
취약점 수리
... (자르기)
변경 로그
출처webpack-cli's changelog.
4.5.0 (2021-02-02)
필기
- now you can use
webpack.config.mjs
andwebpack.config.js
with{ "type": "module" }
inpackage.json
- you can avoid using the
cross-env
package:Before:
{ "scripts": { "build": "cross-env NODE_ENV=production webpack --config build/webpack.config.js" } }
Now (you can remove the
cross-env
if you don't use it somewhere else):{ "scripts": { "build": "webpack --node-env=production --config build/webpack.config.js" } }
- the
mode
option respect the--node-env
option if you don't set themode
option explicit using CLI options or in configuration(s), i.e.--node-env production
setprocess.env.NODE_ENV
andmode
toproduction
취약점 수리
- avoid deprecation message (9d6dbda)
- error message on invalid plugin options (#2380) (f9ce1d3)
- improve description for 'configtest' command (#2379) (311bae3)
특징.
- add the
--node-env
flag (#2388) (e5126f1)- entries syntax (#2369) (6b31614)
- support ES module configuration format (#2381) (aebdbbc)
4.4.0 (2021-01-19)
취약점 수리
- better description for
--no-watch-options-stdin
(#2288) (4ee8665)- double commands output in help (#2298) (efe81e9)
- pass all
argv
to configurations whenserve
command used (#2345) (5070b9b)- respect
--stats
,--color
and--no-color
option forserve
command (#2312) (73d3fec)- show exact package name while prompting for installation (#2338) (ffc93e5)
... (자르기)
언약
3bbda71
자질구레한 일(발표): 새 버전 발표e5126f1
특기: 깃발 추가--node-env
#23882841cd7
테스트: 기본 로더 이름과 플러그인 이름#2392b50d71b
테스트:개선--merge(#2399)ad1a6b8
문서: 업데이트#2398805f9ff
사용9967de9
로 증가)aebdbbc
d004ded
7bd747a
)compare view
이 PR과의 충돌은 사용자가 직접 변경하지 않는 한 해결될 수 있습니다.주석
@dependabot rebase
을 사용하여 수동으로 재기준을 트리거할 수도 있습니다.신뢰성 명령 및 옵션
이 PR에 의견을 달면 Cortebot 작업을 트리거할 수 있습니다.
- "@relateot rebase"는 이 PR의 기초를 재설정합니다.
- "@relateot recreate"는 이 PR을 다시 만들고 편집한 내용을 덮어씁니다.
- "@cordenot merge"는 CI 전송 후 이 PR을 병합합니다.
- "@relateot squash and merge"는 CI 전송 후 이 PR을 누르고 병합합니다.
- "@Correlot cancel merge"는 이전에 요청한 병합을 취소하고 자동 병합을 차단합니다.
- 이 PR이 종료되면 @Correlot Recover에서 다시 열립니다.
- @CorrelotClose가 PR을 닫고 Correlott를 중지하고 다시 생성합니다.수동으로 닫아서 같은 결과를 얻을 수 있습니다
- "@corderot ignore this main version"은 이 PR을 닫고 Corderot가 이 주요 버전의 콘텐츠를 다시 만드는 것을 중지합니다. (PR을 다시 열거나 업그레이드하지 않는 한)
- "@corderot ignore this minor version"은 이 PR을 닫고 corderot가 이 minor version에 대해 더 많은 PR을 만드는 것을 중지합니다. (PR을 다시 열거나 PR로 업그레이드하지 않는 한)
- "@corderot ignore this dependency"는 이 PR을 닫고 이 의존항에 대한 corderot의 내용을 다시 만들지 않습니다(PR을 다시 열거나 PR로 업그레이드하지 않는 한)
- "@cordeot use this label"현재 태그를 재구매 프로토콜 및 언어의 미래 PRs 기본 태그로 설정
- "@cordenot use this reviewers"현재 검토자를 해당 재구매 계약 및 언어의 미래 PRs에 대한 기본 검토자로 설정
- "@corderiot use this assignees"는 현재 소유자를 재구매 프로토콜과 언어의 미래 PRs에 대한 기본값으로 설정합니다.
- "@cordeot use this milestone"은 현재 이정표를 재구매 계약 및 언어의 미래 PRs에 대한 기본 이정표로 설정
- "@Relateot badge me"는 자술한 파일에 "Relateot enabled"배지를 추가할 수 있도록 코드로 이 홍보에 대해 설명합니다.
또한 Correlot[대시보드]에서 다음을 설정할 수도 있습니다(https://app.dependabot.com):
- 업데이트 빈도(하루 중 시간과 일주일 중 날짜 포함)
- 끌어오기 요청 제한(업데이트가 실행될 때마다/또는 언제든지 열려 있음)
- 범위 밖의 업데이트(필요한 경우 잠금 파일 업데이트만 수신)
- 보안 업데이트(필요한 경우 보안 업데이트만 수신)
토론 #1
네, 이 버전은 다시 알려드리지 않겠습니다. 하지만 새로운 버전이 나올 때 연락 드리겠습니다.만약 네가 생각을 바꾸면, 이 공관을 다시 열기만 하면, 나는 어떠한 충돌도 해결할 것이다.
Reference
이 문제에 관하여(웹팩 cli를 4.1.0에서 4.5.0 in/assets로 증가), 우리는 이곳에서 더 많은 자료를 발견하고 링크를 클릭하여 보았다 https://github.com/chrismcg/phlink/issues/346텍스트를 자유롭게 공유하거나 복사할 수 있습니다.하지만 이 문서의 URL은 참조 URL로 남겨 두십시오.
우수한 개발자 콘텐츠 발견에 전념 (Collection and Share based on the CC Protocol.)