Skip to content

Commit

Permalink
fix: so, I couldn't reduce the bundle size 🥲
Browse files Browse the repository at this point in the history
  • Loading branch information
rushelex committed Oct 18, 2024
1 parent 83a27a2 commit 7700a6c
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 98 deletions.
9 changes: 3 additions & 6 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 @@ -69,6 +69,7 @@
}
},
"dependencies": {
"@rollup/pluginutils": "5.1.2",
"picocolors": "1.1.1",
"picomatch": "4.0.2"
},
Expand Down
3 changes: 2 additions & 1 deletion src/context/context.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
import { createFilter } from '@rollup/pluginutils';

import type { ModuleNode } from '../module';
import type { Options } from '../types';

import { createFilter } from '../utils/createFilter';
import { formatOptions } from './formatOptions';

export class Context {
Expand Down
3 changes: 2 additions & 1 deletion src/context/formatOptions.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
import type { FilterPattern } from '@rollup/pluginutils';

import { join, relative } from 'node:path';
import { cwd } from 'node:process';

import type { CircularDependenciesData, Options } from '../types';
import type { FilterPattern } from '../utils/createFilter';

import { DefaultFormatters } from '../utils/formatters';

Expand Down
2 changes: 1 addition & 1 deletion src/types.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import type { FilterPattern } from '@rollup/pluginutils';
import type { LogHandlerWithDefault, PluginContext } from 'rollup';

import type { ModuleInfo, ModuleNode } from './module';
import type { FilterPattern } from './utils/createFilter';

export type CircularDependenciesData = Record<string, Array<Array<ModuleNode['id']>>>;

Expand Down
89 changes: 0 additions & 89 deletions src/utils/createFilter.ts

This file was deleted.

0 comments on commit 7700a6c

Please sign in to comment.