Skip to content

Commit

Permalink
[SDK-3615] Do not build CJS module with externals (#971)
Browse files Browse the repository at this point in the history
* Do not build CJS module with externals

* Move dependencies to devDependencies
  • Loading branch information
frederikprijck authored Sep 1, 2022
1 parent c7a07c5 commit 804ee23
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
6 changes: 2 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,12 @@
"@typescript-eslint/eslint-plugin-tslint": "^5.33.1",
"@typescript-eslint/parser": "^5.33.1",
"browserstack-cypress-cli": "1.8.1",
"browser-tabs-lock": "^1.2.15",
"cli-table": "^0.3.6",
"concurrently": "^7.3.0",
"cypress": "7.2.0",
"es-check": "^7.0.0",
"es-cookie": "^1.3.2",
"eslint": "^8.22.0",
"gzip-size": "^7.0.0",
"husky": "^7.0.4",
Expand Down Expand Up @@ -79,10 +81,6 @@
"typescript": "^4.7.4",
"wait-on": "^6.0.0"
},
"dependencies": {
"browser-tabs-lock": "^1.2.15",
"es-cookie": "^1.3.2"
},
"files": [
"src",
"dist"
Expand Down
3 changes: 1 addition & 2 deletions rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -126,8 +126,7 @@ if (isProduction) {
format: 'cjs'
}
],
plugins: getPlugins(false),
external: Object.keys(pkg.dependencies)
plugins: getPlugins(false)
}
);
}
Expand Down

0 comments on commit 804ee23

Please sign in to comment.