Skip to content

Commit b4b732d

Browse files
authored
Merge pull request #1901 from usablica/iffe-removal
chore: remove the iife declaration
2 parents 233da99 + afab155 commit b4b732d

File tree

3 files changed

+11
-21
lines changed

3 files changed

+11
-21
lines changed

package-lock.json

Lines changed: 9 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "intro.js",
3-
"version": "7.0.0",
3+
"version": "7.0.1",
44
"description": "User Onboarding and Product Walkthrough Library",
55
"keywords": [
66
"onboarding",
@@ -19,7 +19,6 @@
1919
},
2020
"main": "intro.js",
2121
"module": "intro.module.js",
22-
"browser": "intro.iife.js",
2322
"scripts": {
2423
"prettier": "prettier --write '(src|tests)/**/*.(js|ts|json|html)' '!tests/cypress/setup/dist'",
2524
"test": "run-p test:prettier test:jest test:jshint test:cypress",
@@ -41,6 +40,7 @@
4140
"@rollup/plugin-json": "^5.0.1",
4241
"@rollup/plugin-node-resolve": "^15.0.1",
4342
"@types/jest": "^29.4.2",
43+
"@types/node": "^18.15.9",
4444
"autoprefixer": "^9.0.0",
4545
"babel-jest": "^29.2.2",
4646
"core-js": "^3.6.5",

rollup.config.js

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -138,16 +138,5 @@ export default [
138138
sourcemap: true,
139139
},
140140
plugins: jsPlugins
141-
},
142-
{
143-
input: `${inputPath}/index.ts`,
144-
output: {
145-
file: `${outputPath}/${pkg.browser}`,
146-
banner,
147-
format: 'iife',
148-
name: 'introJs',
149-
sourcemap: true,
150-
},
151-
plugins: jsPlugins
152141
}
153142
];

0 commit comments

Comments
 (0)