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
Hello! I use CBOR binary files to load all of my JSON for artwork (parsed first from svg to json) - as it's much faster and smaller than using bloated JSON files. In case you are not familiar with CBOR, here is the link.
Using Svelte v2 and the 'npm run build' command in the package.json file - which uses
"rollup-plugin-serve": "^0.4.2",
The CBOR files all load correctly. But when I switched to Svelte v3, using the 'npm run build' which uses
"sirv-cli": "^0.4.0",
Now for all of the CBOR files I get a 404. To double check where the problem was, I closed the command window and tried using a server called Mongoose to load the base index.html file - and then under another localhost port I loaded my v3 app, and all of the CBOR files loaded correctly. Here is the screenshot of the 404 problem using sirv, from Chrome dev tools:
And here is using the older rollup plugin for Svelte v2
Please let me know if you need any more details! Thanks so much for your work on the new Svelte, it's an incredible tool.
The text was updated successfully, but these errors were encountered:
Hello! I use CBOR binary files to load all of my JSON for artwork (parsed first from svg to json) - as it's much faster and smaller than using bloated JSON files. In case you are not familiar with CBOR, here is the link.
Using Svelte v2 and the 'npm run build' command in the package.json file - which uses
"rollup-plugin-serve": "^0.4.2",
The CBOR files all load correctly. But when I switched to Svelte v3, using the 'npm run build' which uses
"sirv-cli": "^0.4.0",
Now for all of the CBOR files I get a 404. To double check where the problem was, I closed the command window and tried using a server called Mongoose to load the base index.html file - and then under another localhost port I loaded my v3 app, and all of the CBOR files loaded correctly. Here is the screenshot of the 404 problem using sirv, from Chrome dev tools:
And here is using the older rollup plugin for Svelte v2
Please let me know if you need any more details! Thanks so much for your work on the new Svelte, it's an incredible tool.
The text was updated successfully, but these errors were encountered: