Skip to content

Commit

Permalink
chore: Replace CJS Rollup check with rollup-plugin-cjs-check (#2851)
Browse files Browse the repository at this point in the history
  • Loading branch information
kitten authored Dec 4, 2022
1 parent e354e60 commit 7bae374
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 43 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@
"react-is": "^17.0.2",
"rimraf": "^3.0.2",
"rollup": "^3.3.0",
"rollup-plugin-cjs-check": "^1.0.2",
"rollup-plugin-generate-package-json": "^3.2.0",
"rollup-plugin-tsconfig-paths": "^1.4.0",
"rollup-plugin-typescript2": "0.34.1",
Expand Down
13 changes: 13 additions & 0 deletions pnpm-lock.yaml

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

42 changes: 0 additions & 42 deletions scripts/rollup/cjs-check-plugin.mjs

This file was deleted.

2 changes: 1 addition & 1 deletion scripts/rollup/plugins.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ import replace from '@rollup/plugin-replace';
import babel from '@rollup/plugin-babel';
import visualizer from 'rollup-plugin-visualizer';
import terser from '@rollup/plugin-terser';
import cjsCheck from 'rollup-plugin-cjs-check';

import cleanup from './cleanup-plugin.mjs'
import cjsCheck from './cjs-check-plugin.mjs'
import babelPluginTransformPipe from '../babel/transform-pipe.mjs';
import babelPluginTransformInvariant from '../babel/transform-invariant-warning.mjs';
import babelPluginTransformDebugTarget from '../babel/transform-debug-target.mjs';
Expand Down

0 comments on commit 7bae374

Please sign in to comment.