Skip to content

Commit

Permalink
Update dependencies, use terser instead of uglify
Browse files Browse the repository at this point in the history
  • Loading branch information
manuelmhtr committed Aug 23, 2021
1 parent ac8ad6a commit 1463c6c
Show file tree
Hide file tree
Showing 7 changed files with 326 additions and 303 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Changelog
All notable changes to this project will be documented in this file.

## [2.0.1] - 2021-06-12
## [2.0.1] - 2021-08-23
### Fixed
- Update TS definition file

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Añade el siguiente script a tu proyecto:
<script src="https://cdn.jsdelivr.net/gh/manuelmhtr/validate-rfc@latest/dist/index.js" type="text/javascript"></script>

<!-- O especifica una versión -->
<script src="https://cdn.jsdelivr.net/gh/manuelmhtr/[email protected].0/dist/index.js" type="text/javascript"></script>
<script src="https://cdn.jsdelivr.net/gh/manuelmhtr/[email protected].1/dist/index.js" type="text/javascript"></script>

<!-- Esto va a exportar una función "validateRfc": -->
<script type="text/javascript">
Expand Down
2 changes: 1 addition & 1 deletion dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/index.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,16 +37,16 @@
"bail": true
},
"devDependencies": {
"@babel/cli": "^7.14.5",
"@babel/core": "^7.14.5",
"@babel/preset-env": "^7.14.5",
"@babel/cli": "^7.14.8",
"@babel/core": "^7.15.0",
"@babel/preset-env": "^7.15.0",
"@rollup/plugin-babel": "^5.3.0",
"@rollup/plugin-commonjs": "^19.0.0",
"@rollup/plugin-commonjs": "^20.0.0",
"@rollup/plugin-json": "^4.1.0",
"chai": "^4.3.4",
"mocha": "^9.0.0",
"rollup": "^2.51.2",
"rollup-plugin-uglify": "^6.0.4"
"mocha": "^9.1.0",
"rollup": "^2.56.3",
"rollup-plugin-terser": "^7.0.2"
},
"dependencies": {}
}
4 changes: 2 additions & 2 deletions rollup.config.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import babel from '@rollup/plugin-babel';
import commonjs from '@rollup/plugin-commonjs';
import json from '@rollup/plugin-json';
import { uglify } from "rollup-plugin-uglify";
import { terser } from 'rollup-plugin-terser';

export default {
input: 'src/index.js',
Expand All @@ -18,6 +18,6 @@ export default {
babelHelpers: 'bundled',
presets: ['@babel/env']
}),
uglify()
terser()
],
};
Loading

0 comments on commit 1463c6c

Please sign in to comment.