Skip to content

Commit 79d4838

Browse files
committed
chore: fix build errors.
1 parent 5b44367 commit 79d4838

File tree

4 files changed

+23
-75
lines changed

4 files changed

+23
-75
lines changed

.github/workflows/ci.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,12 @@ jobs:
1414
node-version: 14
1515

1616
- run: yarn install
17-
- run: yarn run prepare
17+
- run: yarn run prepare
18+
19+
- name: example router-redux-rematch
20+
working-directory: example/router-redux-rematch
21+
run: yarn run build
22+
23+
- name: example simple
24+
working-directory: example/simple
25+
run: yarn run build

example/router-redux-rematch/package.json

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@
4343
"@babel/eslint-parser": "7.14.5",
4444
"@babel/eslint-plugin": "7.14.5",
4545
"@soda/friendly-errors-webpack-plugin": "1.8.0",
46-
"autoprefixer": "10.2.6",
4746
"babel-loader": "8.2.2",
4847
"colors-cli": "1.0.27",
4948
"css-loader": "5.2.6",
@@ -60,9 +59,6 @@
6059
"less-loader": "9.1.0",
6160
"loading-cli": "1.1.0",
6261
"mocker-api": "2.9.0",
63-
"postcss": "8.3.2",
64-
"postcss-flexbugs-fixes": "5.0.2",
65-
"postcss-loader": "6.1.0",
6662
"style-loader": "2.0.0",
6763
"transform-runtime": "0.0.0",
6864
"url-loader": "4.1.1",

example/router-redux-rematch/scripts/conf/webpack.config.prod.js

Lines changed: 3 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
1-
import autoprefixer from 'autoprefixer';
2-
import postcssFlexbugsFixes from 'postcss-flexbugs-fixes';
31
import ESLintPlugin from 'eslint-webpack-plugin';
4-
// import webpack from 'webpack';
52
import HtmlWebpackPlugin from 'html-webpack-plugin';
63
import paths from './path';
74

@@ -34,31 +31,9 @@ export default {
3431
{
3532
loader: require.resolve('css-loader'),
3633
options: {
37-
modules: true,
38-
localIdentName: '[name]-[hash:base64:5]',
39-
importLoaders: 1,
40-
},
41-
},
42-
{
43-
loader: require.resolve('postcss-loader'),
44-
options: {
45-
postcssOptions: {
46-
// Necessary for external CSS imports to work
47-
// https://github.com/facebookincubator/create-react-app/issues/2677
48-
ident: 'postcss',
49-
plugins: () => [
50-
postcssFlexbugsFixes(),
51-
// require('postcss-flexbugs-fixes'),
52-
autoprefixer({
53-
// overrideBrowserslist: [
54-
// '>1%',
55-
// 'last 4 versions',
56-
// 'Firefox ESR',
57-
// 'not ie < 9', // React doesn't support IE8 anyway
58-
// ],
59-
flexbox: 'no-2009',
60-
}),
61-
],
34+
modules: {
35+
localIdentName: '[path][name]__[local]--[hash:base64:5]',
36+
// importLoaders: 0,
6237
},
6338
},
6439
},

yarn.lock

Lines changed: 11 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -3440,18 +3440,6 @@ atob@^2.1.2:
34403440
resolved "https://registry.yarnpkg.com/atob/-/atob-2.1.2.tgz#6d9517eb9e030d2436666651e86bd9f6f13533c9"
34413441
integrity sha512-Wm6ukoaOGJi/73p/cl2GvLjTI5JM1k/O14isD73YML8StrH/7/lRFgmg8nICZgD3bZZvjwCGxtMOD3wWNAu8cg==
34423442

3443-
autoprefixer@10.2.6:
3444-
version "10.2.6"
3445-
resolved "https://registry.yarnpkg.com/autoprefixer/-/autoprefixer-10.2.6.tgz#aadd9ec34e1c98d403e01950038049f0eb252949"
3446-
integrity sha512-8lChSmdU6dCNMCQopIf4Pe5kipkAGj/fvTMslCsih0uHpOrXOPUEVOmYMMqmw3cekQkSD7EhIeuYl5y0BLdKqg==
3447-
dependencies:
3448-
browserslist "^4.16.6"
3449-
caniuse-lite "^1.0.30001230"
3450-
colorette "^1.2.2"
3451-
fraction.js "^4.1.1"
3452-
normalize-range "^0.1.2"
3453-
postcss-value-parser "^4.1.0"
3454-
34553443
autoprefixer@^9.6.1:
34563444
version "9.8.6"
34573445
resolved "https://registry.yarnpkg.com/autoprefixer/-/autoprefixer-9.8.6.tgz#3b73594ca1bf9266320c5acf1588d74dea74210f"
@@ -4200,7 +4188,7 @@ caniuse-api@^3.0.0:
42004188
lodash.memoize "^4.1.2"
42014189
lodash.uniq "^4.5.0"
42024190

4203-
caniuse-lite@^1.0.0, caniuse-lite@^1.0.30000981, caniuse-lite@^1.0.30001109, caniuse-lite@^1.0.30001125, caniuse-lite@^1.0.30001219, caniuse-lite@^1.0.30001230:
4191+
caniuse-lite@^1.0.0, caniuse-lite@^1.0.30000981, caniuse-lite@^1.0.30001109, caniuse-lite@^1.0.30001125, caniuse-lite@^1.0.30001219:
42044192
version "1.0.30001237"
42054193
resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001237.tgz#4b7783661515b8e7151fc6376cfd97f0e427b9e5"
42064194
integrity sha512-pDHgRndit6p1NR2GhzMbQ6CkRrp4VKuSsqbcLeOQppYPKOYkKT/6ZvZDvKJUqcmtyWIAHuZq3SVS2vc1egCZzw==
@@ -5853,7 +5841,7 @@ eslint-visitor-keys@^2.0.0, eslint-visitor-keys@^2.1.0:
58535841
resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-2.1.0.tgz#f65328259305927392c938ed44eb0a5c9b2bd303"
58545842
integrity sha512-0rSmRBzXgDzIsD6mGdJgevzgezI534Cer5L/vyMX0kHzT/jiB43jRhd9YUlMGYLQy2zprNmoT8qasCGtY+QaKw==
58555843

5856-
eslint-webpack-plugin@^2.5.2:
5844+
eslint-webpack-plugin@2.5.4, eslint-webpack-plugin@^2.5.2:
58575845
version "2.5.4"
58585846
resolved "https://registry.yarnpkg.com/eslint-webpack-plugin/-/eslint-webpack-plugin-2.5.4.tgz#473b84932f1a8e2c2b8e66a402d0497bf440b986"
58595847
integrity sha512-7rYh0m76KyKSDE+B+2PUQrlNS4HJ51t3WKpkJg6vo2jFMbEPTG99cBV0Dm7LXSHucN4WGCG65wQcRiTFrj7iWw==
@@ -6423,11 +6411,6 @@ forwarded@0.2.0:
64236411
resolved "https://registry.yarnpkg.com/forwarded/-/forwarded-0.2.0.tgz#2269936428aad4c15c7ebe9779a84bf0b2a81811"
64246412
integrity sha512-buRG0fpBtRHSTCOASe6hD258tEubFoRLb4ZNA6NxMVHNw2gOcwHo9wyablzMzOA5z9xA9L1KNjk/Nt6MT9aYow==
64256413

6426-
fraction.js@^4.1.1:
6427-
version "4.1.1"
6428-
resolved "https://registry.yarnpkg.com/fraction.js/-/fraction.js-4.1.1.tgz#ac4e520473dae67012d618aab91eda09bcb400ff"
6429-
integrity sha512-MHOhvvxHTfRFpF1geTK9czMIZ6xclsEor2wkIGYYq+PxcQqT7vStJqjhe6S1TenZrMZzo+wlqOufBDVepUEgPg==
6430-
64316414
fragment-cache@^0.2.1:
64326415
version "0.2.1"
64336416
resolved "https://registry.yarnpkg.com/fragment-cache/-/fragment-cache-0.2.1.tgz#4290fad27f13e89be7f33799c6bc5a0abfff0d19"
@@ -10311,11 +10294,6 @@ postcss-flexbugs-fixes@4.2.1:
1031110294
dependencies:
1031210295
postcss "^7.0.26"
1031310296

10314-
postcss-flexbugs-fixes@5.0.2:
10315-
version "5.0.2"
10316-
resolved "https://registry.yarnpkg.com/postcss-flexbugs-fixes/-/postcss-flexbugs-fixes-5.0.2.tgz#2028e145313074fc9abe276cb7ca14e5401eb49d"
10317-
integrity sha512-18f9voByak7bTktR2QgDveglpn9DTbBWPUzSOe9g0N4WR/2eSt6Vrcbf0hmspvMI6YWGywz6B9f7jzpFNJJgnQ==
10318-
1031910297
postcss-focus-visible@^4.0.0:
1032010298
version "4.0.0"
1032110299
resolved "https://registry.yarnpkg.com/postcss-focus-visible/-/postcss-focus-visible-4.0.0.tgz#477d107113ade6024b14128317ade2bd1e17046e"
@@ -10386,15 +10364,6 @@ postcss-loader@3.0.0:
1038610364
postcss-load-config "^2.0.0"
1038710365
schema-utils "^1.0.0"
1038810366

10389-
postcss-loader@6.1.0:
10390-
version "6.1.0"
10391-
resolved "https://registry.yarnpkg.com/postcss-loader/-/postcss-loader-6.1.0.tgz#13c800a00b3c7d434a1319a73d85e2df0714cdde"
10392-
integrity sha512-yA/cXBfACkthZNA2hQxOnaReVfQ6uLmvbEDQzNafpbK40URZJvP/28dL1DG174Gvz3ptkkHbbwDBCh+gXR94CA==
10393-
dependencies:
10394-
cosmiconfig "^7.0.0"
10395-
klona "^2.0.4"
10396-
semver "^7.3.5"
10397-
1039810367
postcss-logical@^3.0.0:
1039910368
version "3.0.0"
1040010369
resolved "https://registry.yarnpkg.com/postcss-logical/-/postcss-logical-3.0.0.tgz#2495d0f8b82e9f262725f75f9401b34e7b45d5b5"
@@ -10835,15 +10804,6 @@ postcss@7.0.21:
1083510804
source-map "^0.6.1"
1083610805
supports-color "^6.1.0"
1083710806

10838-
postcss@8.3.2, postcss@^8.1.0, postcss@^8.2.15:
10839-
version "8.3.2"
10840-
resolved "https://registry.yarnpkg.com/postcss/-/postcss-8.3.2.tgz#ed3ec489f5428af5740cd6effcc216b4d455ee64"
10841-
integrity sha512-y1FK/AWdZlBF5lusS5j5l4/vF67+vQZt1SXPVJ32y1kRGDQyrs1zk32hG1cInRTu14P0V+orPz+ifwW/7rR4bg==
10842-
dependencies:
10843-
colorette "^1.2.2"
10844-
nanoid "^3.1.23"
10845-
source-map-js "^0.6.2"
10846-
1084710807
postcss@^7, postcss@^7.0.0, postcss@^7.0.1, postcss@^7.0.14, postcss@^7.0.17, postcss@^7.0.2, postcss@^7.0.26, postcss@^7.0.27, postcss@^7.0.32, postcss@^7.0.5, postcss@^7.0.6:
1084810808
version "7.0.36"
1084910809
resolved "https://registry.yarnpkg.com/postcss/-/postcss-7.0.36.tgz#056f8cffa939662a8f5905950c07d5285644dfcb"
@@ -10853,6 +10813,15 @@ postcss@^7, postcss@^7.0.0, postcss@^7.0.1, postcss@^7.0.14, postcss@^7.0.17, po
1085310813
source-map "^0.6.1"
1085410814
supports-color "^6.1.0"
1085510815

10816+
postcss@^8.1.0, postcss@^8.2.15:
10817+
version "8.3.2"
10818+
resolved "https://registry.yarnpkg.com/postcss/-/postcss-8.3.2.tgz#ed3ec489f5428af5740cd6effcc216b4d455ee64"
10819+
integrity sha512-y1FK/AWdZlBF5lusS5j5l4/vF67+vQZt1SXPVJ32y1kRGDQyrs1zk32hG1cInRTu14P0V+orPz+ifwW/7rR4bg==
10820+
dependencies:
10821+
colorette "^1.2.2"
10822+
nanoid "^3.1.23"
10823+
source-map-js "^0.6.2"
10824+
1085610825
prelude-ls@^1.2.1:
1085710826
version "1.2.1"
1085810827
resolved "https://registry.yarnpkg.com/prelude-ls/-/prelude-ls-1.2.1.tgz#debc6489d7a6e6b0e7611888cec880337d316396"

0 commit comments

Comments
 (0)