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
Unexpected token (Note that you need plugins to import files that are not JavaScript)
file: /home/spark/Codes/quran/tanzil/src/providers/app.tsx:10:7
8: import { useEffect } from 'react';
9: import { Spinner } from '/home/spark/Codes/quran/tanzil/src/components/Elements/Spinner/Spinner.tsx';
10: import false from '~icons/fa/lse.tsx';
^
11: const queryClient = new QueryClient();
12: export const AppProvider = () => {
error during build:
RollupError: Unexpected token (Note that you need plugins to import files that are not JavaScript)
at error (file:///home/spark/Codes/quran/node_modules/.pnpm/[email protected]/node_modules/rollup/dist/es/shared/rollup.js:2041:30)
at Module.error (file:///home/spark/Codes/quran/node_modules/.pnpm/[email protected]/node_modules/rollup/dist/es/shared/rollup.js:13062:16)
at Module.tryParse (file:///home/spark/Codes/quran/node_modules/.pnpm/[email protected]/node_modules/rollup/dist/es/shared/rollup.js:13737:25)
at Module.setSource (file:///home/spark/Codes/quran/node_modules/.pnpm/[email protected]/node_modules/rollup/dist/es/shared/rollup.js:13347:39)
at ModuleLoader.addModuleSource (file:///home/spark/Codes/quran/node_modules/.pnpm/[email protected]/node_modules/rollup/dist/es/shared/rollup.js:22929:20)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
/home/spark/Codes/quran/tanzil:
ERR_PNPM_RECURSIVE_RUN_FIRST_FAIL [email protected] build: `vite build`
Exit status 1
ELIFECYCLE Command failed with exit code 1.
For the reproduction of issue, please clone the repo, and in tanzil/vite.config.ts change IconResolver settings to have prefix to false, or empty string.
The text was updated successfully, but these errors were encountered:
spa5k
changed the title
Setting prefix to false or empty string gives result
Setting prefix to false or empty string gives error and tries importing false
Mar 7, 2023
Describe the bug
Reproduction
https://github.com/spa5k/quran
For the reproduction of issue, please clone the repo, and in tanzil/vite.config.ts change IconResolver settings to have prefix to false, or empty string.
System Info
Used Package Manager
pnpm
Validations
The text was updated successfully, but these errors were encountered: