From e3b9a071400ffaca4fdced81706db9dff4c09733 Mon Sep 17 00:00:00 2001 From: titanism <101466223+titanism@users.noreply.github.com> Date: Thu, 12 Dec 2024 16:55:30 -0600 Subject: [PATCH] fix: fixed rollup/npm publish steps --- build-browser.js | 4 ++-- package.json | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/build-browser.js b/build-browser.js index c863bd399..76c9ba337 100644 --- a/build-browser.js +++ b/build-browser.js @@ -16,9 +16,9 @@ rollup({ }) .then((bundle) => bundle.write({ - dest: "validator.js", + file: "validator.js", + name: pkg.name, format: "umd", - moduleName: pkg.name, banner: `/*!\n${String(fs.readFileSync("./LICENSE")) .trim() .split("\n") diff --git a/package.json b/package.json index da5ab66e2..c9606dcaa 100644 --- a/package.json +++ b/package.json @@ -49,8 +49,8 @@ "npm-run-all": "^4.1.5", "nyc": "^14.1.0", "rimraf": "^3.0.0", - "rollup": "^0.47.0", - "rollup-plugin-babel": "^4.0.1", + "rollup": "0.68.2", + "rollup-plugin-babel": "4.1.0-1", "timezone-mock": "^1.3.6", "uglify-js": "^3.0.19" },