Skip to content

exclude node_modules/** except for 1 package #16079

Discussion options

You must be logged in to vote

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" }]
      ],
    }

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@twilson90
Comment options

@JLHwung
Comment options

Answer selected by twilson90
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants