Skip to content

Commit

Permalink
chore: remove the iife declaration
Browse files Browse the repository at this point in the history
  • Loading branch information
afshinm committed Mar 25, 2023
1 parent 233da99 commit afab155
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
}
];

0 comments on commit afab155

Please sign in to comment.