Skip to content

Commit

Permalink
💚 Fix configuration for rollup esm tests (#3379)
Browse files Browse the repository at this point in the history
* 💚 Fix configuration for rollup esm tests

* fix require part too
  • Loading branch information
dubzzz committed Nov 3, 2022
1 parent 2f29d66 commit c277de6
Show file tree
Hide file tree
Showing 12 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion packages/test-bundle-rollup-with-import/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"name": "@fast-check/test-bundle-rollup-with-import",
"description": "Test making sure fast-check can be used with ESM in Rollup",
"scripts": {
"generate": "rollup --config rollup.config.js && rollup --config rollup.config.dry.js",
"generate": "rollup --config rollup.config.mjs && rollup --config rollup.config.dry.mjs",
"out:dry": "node dist/dry.js",
"out:start": "node dist/main.js > out.txt",
"dry": "yarn generate && yarn out:dry",
Expand Down
3 changes: 0 additions & 3 deletions packages/test-bundle-rollup-with-import/rollup.config.dry.js

This file was deleted.

3 changes: 3 additions & 0 deletions packages/test-bundle-rollup-with-import/rollup.config.dry.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import buildRollupConfig from './buildRollupConfig.mjs';

export default buildRollupConfig('dry.js');
3 changes: 0 additions & 3 deletions packages/test-bundle-rollup-with-import/rollup.config.js

This file was deleted.

3 changes: 3 additions & 0 deletions packages/test-bundle-rollup-with-import/rollup.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import buildRollupConfig from './buildRollupConfig.mjs';

export default buildRollupConfig('main.js');
2 changes: 1 addition & 1 deletion packages/test-bundle-rollup-with-require/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"name": "@fast-check/test-bundle-rollup-with-require",
"description": "Test making sure fast-check can be used with CJS in Rollup",
"scripts": {
"generate": "rollup --config rollup.config.js && rollup --config rollup.config.dry.js",
"generate": "rollup --config rollup.config.mjs && rollup --config rollup.config.dry.mjs",
"out:dry": "node dist/dry.js",
"out:start": "node dist/main.js > out.txt",
"dry": "yarn generate && yarn out:dry",
Expand Down
3 changes: 0 additions & 3 deletions packages/test-bundle-rollup-with-require/rollup.config.dry.js

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import buildRollupConfig from './buildRollupConfig.mjs';

export default buildRollupConfig('dry.js');
3 changes: 0 additions & 3 deletions packages/test-bundle-rollup-with-require/rollup.config.js

This file was deleted.

3 changes: 3 additions & 0 deletions packages/test-bundle-rollup-with-require/rollup.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import buildRollupConfig from './buildRollupConfig.mjs';

export default buildRollupConfig('main.js');

0 comments on commit c277de6

Please sign in to comment.