Skip to content

Commit

Permalink
[fix] commonjs because core-js; better npm ignores
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreasMaros committed May 23, 2023
1 parent d0d6a7c commit e9abcfb
Show file tree
Hide file tree
Showing 4 changed files with 132 additions and 18 deletions.
5 changes: 4 additions & 1 deletion .npmignore
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
.eslintignore
.eslintrc
.eslintrc.json
.prettierrc
.release-it.yaml
.rollup.config.js
.yarnrc.yaml
Makefile
.idea/
.babelrc
.nvmrc

src/
.circleci/
2 changes: 2 additions & 0 deletions .rollup.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import babel from '@rollup/plugin-babel';
import resolve from '@rollup/plugin-node-resolve';
import commonjs from '@rollup/plugin-commonjs';

function serve() {
let server;
Expand Down Expand Up @@ -58,6 +59,7 @@ export default [
plugins: [
resolve(),
babel(babelConfig()),
commonjs(),
],
},
];
142 changes: 125 additions & 17 deletions package-lock.json

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

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
},
"dependencies": {
"@babel/runtime": "^7.14.6",
"@rollup/plugin-commonjs": "^25.0.0",
"core-js": "^3.15.2"
},
"devDependencies": {
Expand Down

0 comments on commit e9abcfb

Please sign in to comment.