I added some svg
assets to npm package that is used by 3 of my apps.
2 (Compass and Confluence) deploy without any issue, but 1 (Jira) is blocked by this error:
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
> <?xml version="1.0" encoding="UTF-8" standalone="no"?>
| <svg
| xmlns:dc="http://purl.org/dc/elements/1.1/", Module parse failed: Unexpected token (1:0)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
> <?xml version="1.0" encoding="UTF-8" standalone="no"?>
| <!-- Created with Inkscape (https://www.inkscape.org/) -->
|
However I don’t use webpack in the project, next to the package.json
I only have this tsconfig.json
{
"compilerOptions": {
"module": "NodeNext",
"moduleResolution": "Node",
"target": "ES2022",
"jsx": "react",
"checkJs": true,
"allowJs": true,
"experimentalDecorators": true,
"strictNullChecks": true,
"strictFunctionTypes": true,
"sourceMap": true
},
"exclude": ["node_modules", "**/node_modules/*", "docs"]
}
Which is identical to the tsconfig.json
of the 2 working apps.
Even the package.json
is just about identical with these dependencies and overides:
"dependencies": {
"@atlassian/forge-graphql": "14.0.3",
"@forge/api": "5.1.1",
"@forge/bridge": "4.5.0",
"@forge/react": "^11.2.2",
"@forge/resolver": "1.6.9",
"@marvelution/jenkins-integration-kit": "^1.67.717",
"react": "^18.3.1",
"react-router": "^7.6.2"
},
"overrides": {
"pdfjs-dist": "4.2.67",
"@sentry/browser": "7.119.1"
}
Is there an expect around that can help me debug this behaviour?