From afab155a1006aac4dc8fcc0e7e8ba5c95ed7444f Mon Sep 17 00:00:00 2001 From: Afshin Mehrabani Date: Sat, 25 Mar 2023 14:17:56 +0000 Subject: [PATCH] chore: remove the iife declaration --- package-lock.json | 17 +++++++++-------- package.json | 4 ++-- rollup.config.js | 11 ----------- 3 files changed, 11 insertions(+), 21 deletions(-) diff --git a/package-lock.json b/package-lock.json index 52241d036..098de5dbd 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "intro.js", - "version": "7.0.0", + "version": "7.0.1", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "intro.js", - "version": "7.0.0", + "version": "7.0.1", "license": "AGPL-3.0", "devDependencies": { "@babel/core": "^7.12.3", @@ -16,6 +16,7 @@ "@rollup/plugin-json": "^5.0.1", "@rollup/plugin-node-resolve": "^15.0.1", "@types/jest": "^29.4.2", + "@types/node": "^18.15.9", "autoprefixer": "^9.0.0", "babel-jest": "^29.2.2", "core-js": "^3.6.5", @@ -3522,9 +3523,9 @@ "dev": true }, "node_modules/@types/node": { - "version": "18.0.3", - "resolved": "https://registry.npmjs.org/@types/node/-/node-18.0.3.tgz", - "integrity": "sha512-HzNRZtp4eepNitP+BD6k2L6DROIDG4Q0fm4x+dwfsr6LGmROENnok75VGw40628xf+iR24WeMFcHuuBDUAzzsQ==", + "version": "18.15.9", + "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.9.tgz", + "integrity": "sha512-dUxhiNzBLr6IqlZXz6e/rN2YQXlFgOei/Dxy+e3cyXTJ4txSUbGT2/fmnD6zd/75jDMeW5bDee+YXxlFKHoV0A==", "dev": true }, "node_modules/@types/normalize-package-data": { @@ -20029,9 +20030,9 @@ "dev": true }, "@types/node": { - "version": "18.0.3", - "resolved": "https://registry.npmjs.org/@types/node/-/node-18.0.3.tgz", - "integrity": "sha512-HzNRZtp4eepNitP+BD6k2L6DROIDG4Q0fm4x+dwfsr6LGmROENnok75VGw40628xf+iR24WeMFcHuuBDUAzzsQ==", + "version": "18.15.9", + "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.9.tgz", + "integrity": "sha512-dUxhiNzBLr6IqlZXz6e/rN2YQXlFgOei/Dxy+e3cyXTJ4txSUbGT2/fmnD6zd/75jDMeW5bDee+YXxlFKHoV0A==", "dev": true }, "@types/normalize-package-data": { diff --git a/package.json b/package.json index fb8b78e2e..b5d2e655a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "intro.js", - "version": "7.0.0", + "version": "7.0.1", "description": "User Onboarding and Product Walkthrough Library", "keywords": [ "onboarding", @@ -19,7 +19,6 @@ }, "main": "intro.js", "module": "intro.module.js", - "browser": "intro.iife.js", "scripts": { "prettier": "prettier --write '(src|tests)/**/*.(js|ts|json|html)' '!tests/cypress/setup/dist'", "test": "run-p test:prettier test:jest test:jshint test:cypress", @@ -41,6 +40,7 @@ "@rollup/plugin-json": "^5.0.1", "@rollup/plugin-node-resolve": "^15.0.1", "@types/jest": "^29.4.2", + "@types/node": "^18.15.9", "autoprefixer": "^9.0.0", "babel-jest": "^29.2.2", "core-js": "^3.6.5", diff --git a/rollup.config.js b/rollup.config.js index 8809dd5c3..ba5b8318b 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -138,16 +138,5 @@ export default [ sourcemap: true, }, plugins: jsPlugins - }, - { - input: `${inputPath}/index.ts`, - output: { - file: `${outputPath}/${pkg.browser}`, - banner, - format: 'iife', - name: 'introJs', - sourcemap: true, - }, - plugins: jsPlugins } ];