Skip to content

Commit 27a94da

Browse files
author
sky
committed
fix: autoprefixer browselist to overrideBrowserslist
1 parent cb869a4 commit 27a94da

File tree

3 files changed

+21
-2
lines changed

3 files changed

+21
-2
lines changed

.vscode/launch.json

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{
2+
"version": "1.0.0",
3+
"configurations": [
4+
{
5+
"name": "Launch Egg React",
6+
"type": "node",
7+
"request": "launch",
8+
"cwd": "${workspaceRoot}",
9+
"runtimeExecutable": "npm",
10+
"windows": { "runtimeExecutable": "npm.cmd" },
11+
"runtimeArgs": [ "run", "debug" ],
12+
"console": "integratedTerminal",
13+
"protocol": "auto",
14+
"restart": true,
15+
"port": 9229,
16+
"autoAttachChildProcesses": true
17+
}
18+
]
19+
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "egg-react-typescript-boilerplate",
3-
"version": "3.0.1",
3+
"version": "3.0.2",
44
"description": "基于 egg + react + typescript + webpack 服务端渲染工程骨架项目",
55
"scripts": {
66
"start": "egg-scripts start",

postcss.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33

44
module.exports = {
55
plugins: [
6-
require('autoprefixer')({ browsers: ['iOS >= 7', 'Android >= 4.0'] })
6+
require('autoprefixer')({ overrideBrowserslist: ['iOS >= 7', 'Android >= 4.0'] })
77
]
88
};

0 commit comments

Comments
 (0)