You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
superglue_rails generates page components with import statements that uses relative links. For example, in application.js we import page components like ../../views/posts/index.js. Adding a jsonconfig.json would help to shorten those imports. For example:
{
"compilerOptions": {
"target": "ES2016",
"module": "ESNext",
"moduleResolution": "Bundler", // << you should enable this
"esModuleInterop": true,
"paths": {
"@/*": ["./app/javascript/*"]
}
},
"exclude": ["node_modules/**/*"]
The text was updated successfully, but these errors were encountered:
superglue_rails generates page components with import statements that uses relative links. For example, in
application.js
we import page components like../../views/posts/index.js
. Adding ajsonconfig.json
would help to shorten those imports. For example:The text was updated successfully, but these errors were encountered: