Skip to content

Commit

Permalink
Remove unused json plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
TrySound committed Nov 11, 2022
1 parent dd70f34 commit 216082c
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 16 deletions.
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,6 @@
},
"devDependencies": {
"@rollup/plugin-commonjs": "^22.0.2",
"@rollup/plugin-json": "^4.1.0",
"@rollup/plugin-node-resolve": "^14.1.0",
"@types/css-tree": "^1.0.7",
"@types/csso": "^5.0.0",
Expand Down
2 changes: 0 additions & 2 deletions rollup.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { nodeResolve } from '@rollup/plugin-node-resolve';
import commonjs from '@rollup/plugin-commonjs';
import json from '@rollup/plugin-json';
import { terser } from 'rollup-plugin-terser';

export default {
Expand All @@ -15,7 +14,6 @@ export default {
plugins: [
nodeResolve({ browser: true, preferBuiltins: false }),
commonjs(),
json(),
// Whitespaces and comments removal makes the browser bundle lighter
// while retaining the ability to debug errors
terser({
Expand Down
14 changes: 1 addition & 13 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -831,17 +831,6 @@ __metadata:
languageName: node
linkType: hard

"@rollup/plugin-json@npm:^4.1.0":
version: 4.1.0
resolution: "@rollup/plugin-json@npm:4.1.0"
dependencies:
"@rollup/pluginutils": ^3.0.8
peerDependencies:
rollup: ^1.20.0 || ^2.0.0
checksum: 867bc9339b4ccf0b9ff3b2617a95b3b8920115163f86c8e3b1f068a14ca25949472d3c05b09a5ac38ca0fe2185756e34617eaeb219d4a2b6e2307c501c7d4552
languageName: node
linkType: hard

"@rollup/plugin-node-resolve@npm:^14.1.0":
version: 14.1.0
resolution: "@rollup/plugin-node-resolve@npm:14.1.0"
Expand All @@ -858,7 +847,7 @@ __metadata:
languageName: node
linkType: hard

"@rollup/pluginutils@npm:^3.0.8, @rollup/pluginutils@npm:^3.1.0":
"@rollup/pluginutils@npm:^3.1.0":
version: 3.1.0
resolution: "@rollup/pluginutils@npm:3.1.0"
dependencies:
Expand Down Expand Up @@ -4562,7 +4551,6 @@ __metadata:
resolution: "svgo@workspace:."
dependencies:
"@rollup/plugin-commonjs": ^22.0.2
"@rollup/plugin-json": ^4.1.0
"@rollup/plugin-node-resolve": ^14.1.0
"@trysound/sax": 0.2.0
"@types/css-tree": ^1.0.7
Expand Down

0 comments on commit 216082c

Please sign in to comment.