Skip to content

Commit

Permalink
upgrade rollup
Browse files Browse the repository at this point in the history
  • Loading branch information
Gregory Beaver committed Mar 10, 2019
1 parent c933d06 commit 79e3989
Show file tree
Hide file tree
Showing 6 changed files with 82 additions and 139 deletions.
37 changes: 19 additions & 18 deletions paywall/package-lock.json

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

4 changes: 2 additions & 2 deletions paywall/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,9 @@
"react-test-renderer": "^16.8.1",
"react-testing-library": "^6.0.0",
"redux": "^4.0.1",
"rollup": "^1.1.2",
"rollup": "^1.6.0",
"rollup-plugin-babel": "^4.3.2",
"rollup-plugin-uglify": "^6.0.2",
"rollup-plugin-terser": "^4.0.4",
"run-script-os": "^1.0.5",
"storybook-react-router": "^1.0.2",
"styled-components": "^4.1.3",
Expand Down
4 changes: 2 additions & 2 deletions paywall/rollup.paywall.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* eslint-disable import/no-extraneous-dependencies */
import babel from 'rollup-plugin-babel'
import { uglify } from 'rollup-plugin-uglify'
import { terser } from 'rollup-plugin-terser'

const config = {
input: 'src/paywall-builder/index.js',
Expand All @@ -13,7 +13,7 @@ const config = {
exclude: '**/node_modules/**',
runtimeHelpers: true,
}),
uglify({
terser({
compress: {
pure_getters: true,
unsafe: true,
Expand Down
166 changes: 54 additions & 112 deletions unlock-app/package-lock.json

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

6 changes: 3 additions & 3 deletions unlock-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@
"react-test-renderer": "16.8.3",
"react-testing-library": "^6.0.0",
"redux": "^4.0.1",
"rollup": "^1.0.0",
"rollup-plugin-babel": "^4.2.0",
"rollup-plugin-uglify": "^6.0.0",
"rollup": "^1.6.0",
"rollup-plugin-babel": "^4.3.2",
"rollup-plugin-terser": "^4.0.4",
"run-script-os": "^1.0.5",
"storybook-chromatic": "^1.3.0",
"storybook-react-router": "^1.0.2",
Expand Down
4 changes: 2 additions & 2 deletions unlock-app/rollup.paywall.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* eslint-disable import/no-extraneous-dependencies */
import babel from 'rollup-plugin-babel'
import { uglify } from 'rollup-plugin-uglify'
import { terser } from 'rollup-plugin-terser'

const config = {
input: 'src/paywall-builder/index.js',
Expand All @@ -13,7 +13,7 @@ const config = {
exclude: '**/node_modules/**',
runtimeHelpers: true,
}),
uglify({
terser({
compress: {
pure_getters: true,
unsafe: true,
Expand Down

0 comments on commit 79e3989

Please sign in to comment.