exclude node_modules/** except for 1 package #16079
-
Using @rollup/plugin-babel in my gulp file. This is my babel config:
How do I exclude |
Beta Was this translation helpful? Give feedback.
Answered by
nicolo-ribaudo
Nov 1, 2023
Replies: 1 comment 2 replies
-
You can try with a regexp: {
"babelHelpers": "bundled",
"ignore": [/node_modules\/(?!name_of_problem_package)/],
"presets": ['@babel/preset-env'],
"plugins": [
["polyfill-es-shims", { "method": "usage-global" }]
],
} |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
twilson90
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can try with a regexp: