Skip to content

Commit

Permalink
Merge pull request #1901 from usablica/iffe-removal
Browse files Browse the repository at this point in the history
chore: remove the iife declaration
  • Loading branch information
afshinm authored Mar 25, 2023
2 parents 233da99 + afab155 commit b4b732d
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 21 deletions.
17 changes: 9 additions & 8 deletions package-lock.json

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

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "intro.js",
"version": "7.0.0",
"version": "7.0.1",
"description": "User Onboarding and Product Walkthrough Library",
"keywords": [
"onboarding",
Expand All @@ -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",
Expand All @@ -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",
Expand Down
11 changes: 0 additions & 11 deletions rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
];

1 comment on commit b4b732d

@vercel
Copy link

@vercel vercel bot commented on b4b732d Mar 25, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

intro-js – ./

intro-js-tinyapp.vercel.app
intro-js-git-master-tinyapp.vercel.app
intro-js-alpha.vercel.app

Please sign in to comment.