Curvea

Assets and Runtime

Assets

Curvea handles assets from two main locations:

public/
src/assets/

Public assets

Files in public/ are copied directly into dist/.

Example:

public/favicon.ico -> dist/favicon.ico

Source assets

Files in src/assets are copied or transformed into:

dist/assets

CSS entry

The main CSS file is:

src/assets/css/app.css

If it exists, Curvea builds it to:

dist/assets/css/app.css

If Tailwind is installed, Curvea runs the Tailwind CLI with minification.

If Tailwind is not installed, Curvea writes the resolved CSS directly.

JavaScript assets

JavaScript files under:

src/assets/js

are processed through the JavaScript module graph and written to dist/assets/js.

Other assets

Other files in src/assets are copied to dist/assets, except:

  • src/assets/css/app.css
  • .js files

Those are handled separately.

Lucide runtime

If Lucide is installed, Curvea copies:

node_modules/lucide/dist/umd/lucide.js

to:

dist/vendor/lucide/lucide.js