Skip to content

Commit c96b200

Browse files
authored
Fix source map not found on source-map-loader (#360)
* chore: 🤖 Update eslint to make solve peer dependency issue * fix: 🐛 Let rollup handle source map solely
1 parent a10f8ae commit c96b200

3 files changed

Lines changed: 10 additions & 20 deletions

File tree

package.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
"commitlint": "^17.0.2",
6262
"cross-env": "^7.0.3",
6363
"eslint": "^8.17.0",
64-
"eslint-config-airbnb": "^18.2.1",
64+
"eslint-config-airbnb": "^19.0.4",
6565
"eslint-config-airbnb-typescript": "^17.0.0",
6666
"eslint-config-next": "12.1.6",
6767
"eslint-config-prettier": "^8.5.0",
@@ -95,8 +95,7 @@
9595
"webpack-cli": "^5.0.1"
9696
},
9797
"files": [
98-
"dist",
99-
"src"
98+
"dist"
10099
],
101100
"engines": {
102101
"node": ">=8",

rollup.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ export default [
2929
exclude: "node_modules/**",
3030
}),
3131
del({ targets: ["dist/*"] }),
32-
typescript(),
32+
typescript({ sourceMap: false }),
3333
postcss({
3434
modules: true,
3535
}),

yarn.lock

Lines changed: 7 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -7532,15 +7532,6 @@ escodegen@^2.0.0:
75327532
optionalDependencies:
75337533
source-map "~0.6.1"
75347534

7535-
eslint-config-airbnb-base@^14.2.1:
7536-
version "14.2.1"
7537-
resolved "https://registry.yarnpkg.com/eslint-config-airbnb-base/-/eslint-config-airbnb-base-14.2.1.tgz#8a2eb38455dc5a312550193b319cdaeef042cd1e"
7538-
integrity sha512-GOrQyDtVEc1Xy20U7vsB2yAoB4nBlfH5HZJeatRXHleO+OS5Ot+MWij4Dpltw4/DyIkqUfqz1epfhVR5XWWQPA==
7539-
dependencies:
7540-
confusing-browser-globals "^1.0.10"
7541-
object.assign "^4.1.2"
7542-
object.entries "^1.1.2"
7543-
75447535
eslint-config-airbnb-base@^15.0.0:
75457536
version "15.0.0"
75467537
resolved "https://registry.yarnpkg.com/eslint-config-airbnb-base/-/eslint-config-airbnb-base-15.0.0.tgz#6b09add90ac79c2f8d723a2580e07f3925afd236"
@@ -7558,14 +7549,14 @@ eslint-config-airbnb-typescript@^17.0.0:
75587549
dependencies:
75597550
eslint-config-airbnb-base "^15.0.0"
75607551

7561-
eslint-config-airbnb@^18.2.1:
7562-
version "18.2.1"
7563-
resolved "https://registry.yarnpkg.com/eslint-config-airbnb/-/eslint-config-airbnb-18.2.1.tgz#b7fe2b42f9f8173e825b73c8014b592e449c98d9"
7564-
integrity sha512-glZNDEZ36VdlZWoxn/bUR1r/sdFKPd1mHPbqUtkctgNG4yT2DLLtJ3D+yCV+jzZCc2V1nBVkmdknOJBZ5Hc0fg==
7552+
eslint-config-airbnb@^19.0.4:
7553+
version "19.0.4"
7554+
resolved "https://registry.yarnpkg.com/eslint-config-airbnb/-/eslint-config-airbnb-19.0.4.tgz#84d4c3490ad70a0ffa571138ebcdea6ab085fdc3"
7555+
integrity sha512-T75QYQVQX57jiNgpF9r1KegMICE94VYwoFQyMGhrvc+lB8YF2E/M/PYDaQe1AJcWaEgqLE+ErXV1Og/+6Vyzew==
75657556
dependencies:
7566-
eslint-config-airbnb-base "^14.2.1"
7557+
eslint-config-airbnb-base "^15.0.0"
75677558
object.assign "^4.1.2"
7568-
object.entries "^1.1.2"
7559+
object.entries "^1.1.5"
75697560

75707561
eslint-config-next@12.1.6:
75717562
version "12.1.6"
@@ -12413,7 +12404,7 @@ object.assign@^4.1.2, object.assign@^4.1.3, object.assign@^4.1.4:
1241312404
has-symbols "^1.0.3"
1241412405
object-keys "^1.1.1"
1241512406

12416-
object.entries@^1.1.0, object.entries@^1.1.2, object.entries@^1.1.5, object.entries@^1.1.6:
12407+
object.entries@^1.1.0, object.entries@^1.1.5, object.entries@^1.1.6:
1241712408
version "1.1.6"
1241812409
resolved "https://registry.yarnpkg.com/object.entries/-/object.entries-1.1.6.tgz#9737d0e5b8291edd340a3e3264bb8a3b00d5fa23"
1241912410
integrity sha512-leTPzo4Zvg3pmbQ3rDK69Rl8GQvIqMWubrkxONG9/ojtFE2rD9fjMKfSI5BxW3osRH1m6VdzmqK8oAY9aT4x5w==

0 commit comments

Comments
 (0)