Skip to content

Commit 496f206

Browse files
committed
Replace pkg.dependencies.idb with "idb"
1 parent 5b6417f commit 496f206

File tree

6 files changed

+17
-17
lines changed

6 files changed

+17
-17
lines changed

packages/app-compat/rollup.config.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ const esmBuilds = [
5858
external: id =>
5959
deps.some(
6060
dep =>
61-
dep !== pkg.dependencies.idb &&
61+
dep !== 'idb' &&
6262
(id === dep || id.startsWith(`${dep}/`))
6363
)
6464
},
@@ -82,7 +82,7 @@ const esmBuilds = [
8282
external: id =>
8383
deps.some(
8484
dep =>
85-
dep !== pkg.dependencies.idb &&
85+
dep !== 'idb' &&
8686
(id === dep || id.startsWith(`${dep}/`))
8787
)
8888
},
@@ -97,7 +97,7 @@ const esmBuilds = [
9797
external: id =>
9898
deps.some(
9999
dep =>
100-
dep !== pkg.dependencies.idb &&
100+
dep !== 'idb' &&
101101
(id === dep || id.startsWith(`${dep}/`))
102102
)
103103
}

packages/app/rollup.config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ const esmBuilds = [
7878
external: id =>
7979
deps.some(
8080
dep =>
81-
dep !== pkg.dependencies.idb &&
81+
dep !== 'idb' &&
8282
(id === dep || id.startsWith(`${dep}/`))
8383
),
8484
plugins: [
@@ -99,7 +99,7 @@ const cjsBuilds = [
9999
external: id =>
100100
deps.some(
101101
dep =>
102-
dep !== pkg.dependencies.idb &&
102+
dep !== 'idb' &&
103103
(id === dep || id.startsWith(`${dep}/`))
104104
),
105105
plugins: [

packages/installations-compat/rollup.config.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ const esmBuilds = [
4545
external: id =>
4646
deps.some(
4747
dep =>
48-
dep !== pkg.dependencies.idb &&
48+
dep !== 'idb' &&
4949
(id === dep || id.startsWith(`${dep}/`))
5050
),
5151
plugins: [...es5BuildPlugins, emitModulePackageFile()]
@@ -60,7 +60,7 @@ const esmBuilds = [
6060
external: id =>
6161
deps.some(
6262
dep =>
63-
dep !== pkg.dependencies.idb &&
63+
dep !== 'idb' &&
6464
(id === dep || id.startsWith(`${dep}/`))
6565
),
6666
plugins: [...es2017BuildPlugins, emitModulePackageFile()]
@@ -74,7 +74,7 @@ const cjsBuilds = [
7474
external: id =>
7575
deps.some(
7676
dep =>
77-
dep !== pkg.dependencies.idb &&
77+
dep !== 'idb' &&
7878
(id === dep || id.startsWith(`${dep}/`))
7979
),
8080
plugins: es5BuildPlugins

packages/installations/rollup.config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ const esmBuilds = [
4848
external: id =>
4949
deps.some(
5050
dep =>
51-
dep !== pkg.dependencies.idb &&
51+
dep !== 'idb' &&
5252
(id === dep || id.startsWith(`${dep}/`))
5353
),
5454
plugins: [
@@ -67,7 +67,7 @@ const esmBuilds = [
6767
external: id =>
6868
deps.some(
6969
dep =>
70-
dep !== pkg.dependencies.idb &&
70+
dep !== 'idb' &&
7171
(id === dep || id.startsWith(`${dep}/`))
7272
),
7373
plugins: [

packages/messaging-compat/rollup.config.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ const esmBuilds = [
5454
external: id =>
5555
deps.some(
5656
dep =>
57-
dep !== pkg.dependencies.idb &&
57+
dep !== 'idb' &&
5858
(id === dep || id.startsWith(`${dep}/`))
5959
)
6060
},
@@ -69,7 +69,7 @@ const esmBuilds = [
6969
external: id =>
7070
deps.some(
7171
dep =>
72-
dep !== pkg.dependencies.idb &&
72+
dep !== 'idb' &&
7373
(id === dep || id.startsWith(`${dep}/`))
7474
)
7575
}
@@ -83,7 +83,7 @@ const cjsBuilds = [
8383
external: id =>
8484
deps.some(
8585
dep =>
86-
dep !== pkg.dependencies.idb &&
86+
dep !== 'idb' &&
8787
(id === dep || id.startsWith(`${dep}/`))
8888
)
8989
}

packages/messaging/rollup.config.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ const esmBuilds = [
7474
external: id =>
7575
deps.some(
7676
dep =>
77-
dep !== pkg.dependencies.idb &&
77+
dep !== 'idb' &&
7878
(id === dep || id.startsWith(`${dep}/`))
7979
)
8080
},
@@ -86,7 +86,7 @@ const esmBuilds = [
8686
external: id =>
8787
deps.some(
8888
dep =>
89-
dep !== pkg.dependencies.idb &&
89+
dep !== 'idb' &&
9090
(id === dep || id.startsWith(`${dep}/`))
9191
)
9292
}
@@ -103,7 +103,7 @@ const cjsBuilds = [
103103
external: id =>
104104
deps.some(
105105
dep =>
106-
dep !== pkg.dependencies.idb &&
106+
dep !== 'idb' &&
107107
(id === dep || id.startsWith(`${dep}/`))
108108
)
109109
},
@@ -122,7 +122,7 @@ const cjsBuilds = [
122122
external: id =>
123123
deps.some(
124124
dep =>
125-
dep !== pkg.dependencies.idb &&
125+
dep !== 'idb' &&
126126
(id === dep || id.startsWith(`${dep}/`))
127127
)
128128
}

0 commit comments

Comments
 (0)