Skip to content
Snippets Groups Projects
Commit be362036 authored by RMidhunSuresh's avatar RMidhunSuresh
Browse files

Add explaining comments

parent bff951e5
No related branches found
No related tags found
No related merge requests found
/**
* We do a second build for parent (the first one builds both parent and chatterbox-app) because we need
* the link to the CSS file for parent with the asset-hash included.
*/
const { defineConfig } = require("vite") const { defineConfig } = require("vite")
const { resolve } = require("path"); const { resolve } = require("path");
// We've configured the first build to produce a manifest.json that tells us what the asset-hashed file names are.
import manifestJSON from "./target/manifest.json"; import manifestJSON from "./target/manifest.json";
const cssLink = manifestJSON["index.html"]["css"][0]; const cssLink = manifestJSON["index.html"]["css"][0];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment