Skip to content

Commit 419029a

Browse files
committed
chore: change browser targets to "defaults, not op_mini all"
1 parent 6b2f1b4 commit 419029a

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

eslint.config.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ export default [
1010
'ignore'
1111
]
1212
},
13-
...ashNazg(['sauron', 'node']),
13+
...ashNazg(['sauron', 'node', 'browser']),
1414
{
1515
settings: {
1616
polyfills: [

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@
9393
"jsonpath"
9494
],
9595
"browserslist": [
96-
"cover 100%"
96+
"defaults, not op_mini all"
9797
],
9898
"c8": {
9999
"reporter": [

rollup.config.js

+2
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ const pkg = JSON.parse(await readFile('./package.json'));
2222
*/
2323
function getRollupObject ({
2424
input, minifying, environment,
25+
// eslint-disable-next-line no-shadow -- Ok
2526
external,
2627
format = 'umd'
2728
}) {
@@ -71,6 +72,7 @@ function getRollupObject ({
7172
function getRollupObjectByEnv ({minifying, environment}) {
7273
const input = `src/jsonpath-${environment}.js`;
7374
if (environment === 'node') {
75+
// eslint-disable-next-line no-shadow -- Ok
7476
const external = ['vm'];
7577
return [
7678
getRollupObject({

0 commit comments

Comments
 (0)