Replace Autoprefixer browsers option to Browserslist config.
Gulp 에러(Gulp Error) ReferenceError: primordials is not defined
gulp 에러(gulp Error) gulp : 'gulp' 용어가 cmdlet, 함수, 스크립트 파일 또는 실행할 수 있는 프로그램 이 방법 1. 터미널 변경 [오류모음] npm : 'npm' 용어가 cmdlet, 함수, 스크립트 파일 또는 실행할 수 있..
shinye0213.tistory.com
Replace Autoprefixer browsers option to Browserslist config.
Use browserslist key in package.json or .browserslistrc file.
Using browsers option can cause errors. Browserslist config can
be used for Babel, Autoprefixer, postcss-normalize and other tools.
If you really need to use option, rename it to overrideBrowserslist.
Learn more at:
https://github.com/browserslist/browserslist#readme
https://twitter.com/browserslist
방법 1. package.json 수정
웹 개발 기술 블로그
웹 개발에 필요한 지식을 기록하는 블로그입니다.
13akstjq.github.io
,
"browserslist" : ["chrome > 0", "ie > 0", "firefox > 0"]
방법 2. gulpfile.js와 package.json 수정
Autoprefixer "browsers" option is deprecated in v9, produces warnings · Issue #14530 · gatsbyjs/gatsby
Description I'm getting a series of warnings related to the browserslist package. I can't override the settings following the warning instructions because I can't find where the wrong p...
github.com
const postCssOptions = [
assets({ loadPaths: ['images/'] }),
autoprefixer(),
postcssNormalize({
browsers: 'last 2 versions',
forceImport: true
})
];
,
"browserslist": [
"last 2 version",
"> 2%"
]
'개발(Web) > Web' 카테고리의 다른 글
톰캣 에러(Tomcat Error) HTTP 상태 404 – 찾을 수 없음 (2) | 2021.03.30 |
---|---|
[Ant Design] 앤트디자인 아이콘 에러/미표시 문제 (0) | 2021.03.10 |
[Gulp] ReferenceError: primordials is not defined (0) | 2021.03.08 |
[Gulp] gulp : 'gulp' 용어가 cmdlet, 함수, 스크립트 파일 또는 실행할 수 있는 프로그램 이름으로 인식되 지 않습니다. 이름이 정확한지 확인하고 경로가 포함된 경우 경로가 올바른지 .. (0) | 2021.03.08 |
[Node.js] Error: Cannot find module 'moment' (0) | 2021.02.27 |