Skip to content

Commit

Permalink
Add json rollup plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
denysdovhan committed May 12, 2020
1 parent 6bb47e6 commit f0c48a0
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
9 changes: 9 additions & 0 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 @@ -32,6 +32,7 @@
"@rollup/plugin-babel": "^5.0.0",
"@rollup/plugin-commonjs": "^11.1.0",
"@rollup/plugin-image": "^2.0.4",
"@rollup/plugin-json": "^4.0.3",
"@rollup/plugin-node-resolve": "^7.1.3",
"eslint": "^6.8.0",
"eslint-config-prettier": "^6.11.0",
Expand Down
2 changes: 2 additions & 0 deletions rollup.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
/* eslint-env node */
import commonjs from '@rollup/plugin-commonjs';
import nodeResolve from '@rollup/plugin-node-resolve';
import json from '@rollup/plugin-json';
import babel from '@rollup/plugin-babel';
import image from '@rollup/plugin-image';
import { terser } from 'rollup-plugin-terser';
Expand All @@ -27,6 +28,7 @@ export default {
plugins: [
nodeResolve(),
commonjs(),
json(),
babel({
exclude: 'node_modules/**',
}),
Expand Down

0 comments on commit f0c48a0

Please sign in to comment.