Skip to content

Commit

Permalink
project: Remove unused @rollup/plugin-json dev-dependency.
Browse files Browse the repository at this point in the history
  • Loading branch information
microbit-carlos committed Feb 29, 2024
1 parent 4955609 commit 0898e2f
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 30 deletions.
7 changes: 1 addition & 6 deletions config/rollup.config.js
Original file line number Diff line number Diff line change
@@ -1,16 +1,12 @@
import { resolve } from 'path';
import sourceMaps from 'rollup-plugin-sourcemaps';
import nodeResolve from '@rollup/plugin-node-resolve';
import json from '@rollup/plugin-json';
import commonjs from '@rollup/plugin-commonjs';
import babel from 'rollup-plugin-babel';
import minify from 'rollup-plugin-babel-minify';

import pkg from '../package.json';

/**
* @typedef {import('./types').RollupConfig} Config
*/
/**
* @typedef {import('./types').RollupPlugin} Plugin
*/
Expand All @@ -23,13 +19,12 @@ const dist = resolve(root, 'dist');
*
* @type {string[]}
*/
const external = Object.keys(pkg.peerDependencies) || [];
const external = [];

/**
* @type {Plugin[]}
*/
const plugins = /** @type {Plugin[]} */ ([
json(),
commonjs(),
// Allow node_modules resolution. Use 'external' to control
// which external modules to include in the bundle
Expand Down
21 changes: 0 additions & 21 deletions package-lock.json

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

3 changes: 0 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,14 +46,11 @@
"lint:fix": "npm run lint -- --fix",
"docs": "typedoc --options config/typedoc.json"
},
"dependencies": {},
"peerDependencies": {},
"devDependencies": {
"@babel/core": "^7.23.9",
"@babel/polyfill": "^7.12.1",
"@babel/preset-env": "^7.23.9",
"@rollup/plugin-commonjs": "^25.0.7",
"@rollup/plugin-json": "^6.1.0",
"@rollup/plugin-node-resolve": "^15.2.3",
"@types/jest": "^29.5.12",
"@types/node": "^20.11.21",
Expand Down

0 comments on commit 0898e2f

Please sign in to comment.