Skip to content

Commit

Permalink
fix: fix broken rollup config
Browse files Browse the repository at this point in the history
  • Loading branch information
alexdor committed Oct 21, 2021
1 parent 3a75120 commit e68e641
Show file tree
Hide file tree
Showing 3 changed files with 47 additions and 47 deletions.
54 changes: 27 additions & 27 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 @@ -52,20 +52,20 @@
"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",
"@donkeyclip/motorcortex": "7.5.4",
"@donkeyclip/motorcortex-player": "2.3.5",
"@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",
"@size-limit/preset-big-lib": "6.0.3",
"@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",
"@size-limit/preset-big-lib": "^6.0.3",
"babel-loader": "8.2.3",
"concurrently": "6.3.0",
"core-js": "3.18.3",
"concurrently": "^6.3.0",
"core-js": "^3.18.3",
"css-loader": "6.4.0",
"eslint": "7.32.0",
"eslint-config-prettier": "8.3.0",
Expand All @@ -77,12 +77,12 @@
"eslint-plugin-promise": "5.1.1",
"husky": "7.0.4",
"prettier": "2.4.1",
"rimraf": "3.0.2",
"rimraf": "^3.0.2",
"rollup": "2.58.0",
"rollup-plugin-terser": "7.0.2",
"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"
}
}
10 changes: 5 additions & 5 deletions rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,16 @@ import pkg from "./package.json";

export default [
{
input: "src/main.js",
input: "src/index.js",
external: ["@donkeyclip/motorcortex"],
output: [
{ file: pkg.main, format: "cjs" },
{ file: pkg.module, format: "es" },
],
plugins: [resolve(), babel(), commonjs(), terser(), json()],
plugins: [resolve(), commonjs(), babel(), json()],
},
{
input: "src/main.js",
input: "src/index.js",
external: ["@donkeyclip/motorcortex"],
output: [
{
Expand All @@ -29,10 +29,10 @@ export default [
},
],
plugins: [
resolve({ mainFields: ["module", "main", "browser"] }),
json(),
babel(),
resolve({ mainFields: ["module", "main", "browser"] }),
commonjs(),
babel(),
terser(),
],
},
Expand Down

0 comments on commit e68e641

Please sign in to comment.