sindresorhus/query-string

You may need an additional loader to handle the result of these loaders.

adithp opened this issue · 4 comments

adithp commented

./node_modules/query-string/base.js 341:14
Module parse failed: Unexpected token (341:14)
File was processed with these loaders:

  • ./node_modules/babel-loader/lib/index.js
    You may need an additional loader to handle the result of these loaders.
    | }
    | return {
url: url_?.split('?')?.[0] ?? '',

| query: parse(extract(url), options),
| ...(options && options.parseFragmentIdentifier && hash ? {

adithp commented

Login js - travel-app - Visual Studio Code  Administrator  02-12-2023 15_54_05

This is a problem with your Babel config, not this package.

@adithp Use version 7.1.3 if you don't want to adjust your config.

Hi @adithp , Did you find the solution or any workaround for this?