Skip to content

Commit

Permalink
update(js): rebuild packaged js, upgrade npm deps
Browse files Browse the repository at this point in the history
  • Loading branch information
nteetor committed Oct 31, 2024
1 parent c76fb54 commit ca20a80
Show file tree
Hide file tree
Showing 12 changed files with 5,765 additions and 7,002 deletions.
1,361 changes: 461 additions & 900 deletions inst/www/yonder/js/yonder.js

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion inst/www/yonder/js/yonder.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion inst/www/yonder/js/yonder.min.js.map

Large diffs are not rendered by default.

6 changes: 2 additions & 4 deletions js/build/babel.config.js
Original file line number Diff line number Diff line change
@@ -1,15 +1,13 @@
export default {
module.exports = {
presets: [
[
"@babel/preset-env",
{
modules: false,
bugfixes: true,
loose: true
}
]
],
plugins: [
"@babel/plugin-proposal-object-rest-spread"
],
exclude: "node_modules/**"
};
8 changes: 4 additions & 4 deletions js/build/rollup.config.js → js/build/rollup.config.mjs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import babel from "rollup-plugin-babel";
import babelrc from "./babel.config.js";
import { babel } from "@rollup/plugin-babel";

import { terser } from "rollup-plugin-terser";
// import { terser } from "rollup-plugin-terser";

export default {
input: "src/yonder.js",
Expand All @@ -13,7 +12,8 @@ export default {
},
plugins: [
babel({
...babelrc
exclude: "node_modules/**",
babelHelpers: "bundled"
})
]
};
Loading

0 comments on commit ca20a80

Please sign in to comment.