Skip to content

Commit

Permalink
fix: fix broken config
Browse files Browse the repository at this point in the history
  • Loading branch information
alexdor committed Oct 21, 2021
1 parent 933807a commit 790df76
Show file tree
Hide file tree
Showing 3 changed files with 53 additions and 52 deletions.
66 changes: 33 additions & 33 deletions package-lock.json

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

30 changes: 15 additions & 15 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,29 +67,29 @@
"devDependencies": {
"@babel/cli": "7.15.7",
"@babel/core": "7.15.8",
"@babel/eslint-parser": "7.15.8",
"@babel/plugin-syntax-jsx": "7.14.5",
"@babel/plugin-transform-react-jsx": "7.14.9",
"@babel/eslint-parser": "^7.15.8",
"@babel/plugin-syntax-jsx": "^7.14.5",
"@babel/plugin-transform-react-jsx": "^7.14.9",
"@babel/preset-env": "7.15.8",
"@commitlint/cli": "13.2.1",
"@commitlint/config-conventional": "13.2.0",
"@donkeyclip/motorcortex": "7.5.4",
"@donkeyclip/motorcortex-player": "2.3.5",
"@rollup/plugin-babel": "5.3.0",
"@rollup/plugin-commonjs": "20.0.0",
"@rollup/plugin-json": "4.1.0",
"@rollup/plugin-node-resolve": "13.0.6",
"@rollup/plugin-babel": "^5.3.0",
"@rollup/plugin-commonjs": "^21.0.1",
"@rollup/plugin-json": "^4.1.0",
"@rollup/plugin-node-resolve": "^13.0.6",
"@semantic-release/changelog": "6.0.0",
"@semantic-release/git": "10.0.0",
"@semantic-release/github": "8.0.1",
"@semantic-release/npm": "8.0.2",
"@size-limit/preset-big-lib": "6.0.3",
"@size-limit/preset-big-lib": "^6.0.3",
"babel-loader": "8.2.3",
"browserslist": "4.17.4",
"caniuse-lite": "1.0.30001270",
"commitizen": "4.2.4",
"concurrently": "6.3.0",
"core-js": "3.18.3",
"concurrently": "^6.3.0",
"core-js": "^3.18.3",
"css-loader": "6.4.0",
"cz-conventional-changelog": "3.3.0",
"eslint": "7.32.0",
Expand All @@ -103,14 +103,14 @@
"husky": "7.0.4",
"lint-staged": "11.2.3",
"prettier": "2.4.1",
"rimraf": "3.0.2",
"rimraf": "^3.0.2",
"rollup": "2.58.0",
"rollup-plugin-terser": "7.0.2",
"semantic-release": "18.0.0",
"size-limit": "6.0.3",
"webpack": "5.59.1",
"webpack-cli": "4.9.1",
"webpack-dev-server": "4.3.1"
"size-limit": "^6.0.3",
"webpack": "^5.59.0",
"webpack-cli": "^4.9.1",
"webpack-dev-server": "^4.3.1"
},
"husky": {
"hooks": {
Expand Down
9 changes: 5 additions & 4 deletions rollup.config.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
import { babel } from "@rollup/plugin-babel";
import babel from "@rollup/plugin-babel";
import commonjs from "@rollup/plugin-commonjs";
import json from "@rollup/plugin-json";
import { nodeResolve } from "@rollup/plugin-node-resolve";
import resolve from "@rollup/plugin-node-resolve";
import { terser } from "rollup-plugin-terser";
import pkg from "./package.json";

export default [
{
input: "src/index.js",
Expand All @@ -12,7 +13,7 @@ export default [
{ file: pkg.main, format: "cjs" },
{ file: pkg.module, format: "es" },
],
plugins: [commonjs(), babel(), json()],
plugins: [resolve(), commonjs(), babel(), json()],
},
{
input: "src/index.js",
Expand All @@ -29,7 +30,7 @@ export default [
],
plugins: [
json(),
nodeResolve({ mainFields: ["module", "main", "browser"] }),
resolve({ mainFields: ["module", "main", "browser"] }),
commonjs(),
babel(),
terser(),
Expand Down

0 comments on commit 790df76

Please sign in to comment.