Skip to content

Commit

Permalink
Remove rollup-plugin-thatworks from devDeps (#5312)
Browse files Browse the repository at this point in the history
  • Loading branch information
TrickyPi committed Dec 26, 2023
1 parent 7403a6a commit 15916fb
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 14 deletions.
10 changes: 0 additions & 10 deletions package-lock.json

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

1 change: 0 additions & 1 deletion package.json
Expand Up @@ -170,7 +170,6 @@
"rollup": "^4.8.0",
"rollup-plugin-license": "^3.2.0",
"rollup-plugin-string": "^3.0.0",
"rollup-plugin-thatworks": "^1.0.4",
"semver": "^7.5.4",
"shx": "^0.3.4",
"signal-exit": "^4.1.0",
Expand Down
2 changes: 1 addition & 1 deletion test/cli/samples/config-mjs-plugins/nested/plugin.mjs
Expand Up @@ -3,7 +3,7 @@ import { fileURLToPath } from 'url';

export default () => ({
transform(code) {
return `console.log('${relative(process.cwd(), fileURLToPath(import.meta.url)).replace(
return `#!/usr/bin/env node\nconsole.log('${relative(process.cwd(), fileURLToPath(import.meta.url)).replace(
'\\',
'/'
)}');\n${code}`;
Expand Down
3 changes: 1 addition & 2 deletions test/cli/samples/config-mjs-plugins/rollup.config.mjs
@@ -1,10 +1,9 @@
import replace from '@rollup/plugin-replace';
import { shebang } from 'rollup-plugin-thatworks';
import nestedPlugin from './nested/plugin.mjs';
import plugin from './plugin.mjs';

export default {
input: 'main.js',
output: { format: 'cjs', exports: 'auto' },
plugins: [shebang(), replace({ preventAssignment: true, ANSWER: 42 }), plugin(), nestedPlugin()]
plugins: [replace({ preventAssignment: true, ANSWER: 42 }), plugin(), nestedPlugin()]
};

0 comments on commit 15916fb

Please sign in to comment.