81e2b18531
* Allow upload of AVIF and x-canon-cr2 mime types * Allow generic RAW file mime type image/x-dcraw * Another place to uploading avif and cr2 * Determine mime type for .avif and .cr2 files correctly * Update asset-upload.config.spec.ts for CR2 and AVIF files * More changes for AVIF & CR2 files Found some other places where avif and cr2 should be mentioned. * Merge in upstream changes * Allow uploading and using most of the formats that libraw supports * Add raw files to allowable mobile uploads * Update asset-upload.config.spec.ts Fix errant commas. * Update asset-utils.ts Remove duplicate entry in hash table. * Fix missing k25 mime type in server upload check. Fix prettier formatting message in web file-uploader. * fix test --------- Co-authored-by: Elliot Lee <sopwith@gmail.com> Co-authored-by: Alex Tran <alex.tran1502@gmail.com> |
||
---|---|---|
.. | ||
__mocks__ | ||
src | ||
static | ||
.dockerignore | ||
.eslintignore | ||
.eslintrc.cjs | ||
.gitignore | ||
.npmrc | ||
.prettierignore | ||
.prettierrc | ||
babel.config.cjs | ||
Dockerfile | ||
entrypoint.sh | ||
how-to-scroll-like-google.md | ||
jest.config.mjs | ||
LICENSE | ||
package-lock.json | ||
package.json | ||
postcss.config.cjs | ||
README.md | ||
svelte.config.js | ||
tailwind.config.cjs | ||
tsconfig.json | ||
vite.config.js |
create-svelte
Everything you need to build a Svelte project, powered by create-svelte
.
Creating a project
If you're seeing this, you've probably already done this step. Congrats!
# create a new project in the current directory
npm init svelte
# create a new project in my-app
npm init svelte my-app
Developing
Once you've created a project and installed dependencies with npm install
(or pnpm install
or yarn
), start a development server:
npm run dev
# or start the server and open the app in a new browser tab
npm run dev -- --open
Building
To create a production version of your app:
npm run build
You can preview the production build with npm run preview
.
To deploy your app, you may need to install an adapter for your target environment.