packages/babel-helper-define-polyfill-provider/test/spawn-fixtures/rollup/rollup.config.js
raw symbols SCIP| 1 | import babel from "rollup-plugin-babel"; |
| 2 | |
| 3 | export default { |
| 4 | input: "src/main.js", |
| 5 | output: [ |
| 6 | { |
| 7 | file: "output.js", |
| 8 | format: "esm", |
| 9 | }, |
| 10 | ], |
| 11 | plugins: [ |
| 12 | babel({ |
| 13 | plugins: [ |
| 14 | [ |
| 15 | require("../../helpers/generic-provider.js"), |
| 16 | { |
| 17 | method: "usage-global", |
| 18 | globals: { |
| 19 | a: "___a___not_a_real_pkg___", |
| 20 | b: "___b___not_a_real_pkg___", |
| 21 | c: "___c___not_a_real_pkg___", |
| 22 | }, |
| 23 | missingDependencies: { all: true }, |
| 24 | }, |
| 25 | ], |
| 26 | ], |
| 27 | }), |
| 28 | ], |
| 29 | }; |