· @jaroel
25 followers · 3 posts · Server mastodon.social

If you happen to run start in combination with (github.com/xojs/xo), you might run into a nice error message along the lines of

Missing "./vite.js" export in "solid-start" package

This means that your editor has changed vite.config.js and added .js (or .ts) to the line

import solid from 'solid-start/vite'

Disable eslint for that line and all is grand!
// eslint-disable-line n/file-extension-in-import

#SolidJS #xojs

Last updated 2 years ago

· @jaroel
102 followers · 37 posts · Server mastodon.social

If you happen to run start in combination with (github.com/xojs/xo), you might run into a nice error message along the lines of

Missing "./vite.js" export in "solid-start" package

This means that your editor has changed vite.config.js and added .js (or .ts) to the line

import solid from 'solid-start/vite'

Disable eslint for that line and all is grand!
// eslint-disable-line n/file-extension-in-import

#SolidJS #xojs

Last updated 2 years ago