Skip to content

Commit a661988

Browse files
committed
Update targets and deps
1 parent f122f2d commit a661988

File tree

2 files changed

+13
-7
lines changed

2 files changed

+13
-7
lines changed

build-browser.mjs

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,13 @@ rollup({
99
input: 'src/index.js',
1010
plugins: [
1111
babel({
12-
presets: [[babelPresetEnv, { modules: false }]],
12+
presets: [[babelPresetEnv, {
13+
modules: false,
14+
targets: {
15+
node: '0.10',
16+
ie: '11'
17+
}
18+
}]],
1319
babelHelpers: 'bundled',
1420
babelrc: false,
1521
}),

package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,11 @@
3636
"url": "git+https://github.com/validatorjs/validator.js.git"
3737
},
3838
"devDependencies": {
39-
"@babel/cli": "^7.0.0",
40-
"@babel/core": "^7.0.0",
41-
"@babel/preset-env": "^7.0.0",
42-
"@babel/register": "^7.0.0",
43-
"@rollup/plugin-babel": "^6.0.0",
39+
"@babel/cli": "^7.28.3",
40+
"@babel/core": "^7.28.5",
41+
"@babel/preset-env": "^7.28.5",
42+
"@babel/register": "^7.28.3",
43+
"@rollup/plugin-babel": "^6.1.0",
4444
"babel-eslint": "^10.0.1",
4545
"babel-plugin-add-module-exports": "^1.0.0",
4646
"eslint": "^4.19.1",
@@ -50,7 +50,7 @@
5050
"npm-run-all": "^4.1.5",
5151
"nyc": "^14.1.0",
5252
"rimraf": "^3.0.0",
53-
"rollup": "^4.0.0",
53+
"rollup": "^4.53.2",
5454
"timezone-mock": "^1.3.6",
5555
"uglify-js": "^3.0.19"
5656
},

0 commit comments

Comments
 (0)