mirror of
https://github.com/storytold/spark.git
synced 2026-10-21 08:06:45 +00:00
Renamed "forge" to "spark". Updated meta-references and future domain. (#40)
This commit is contained in:
committed by
GitHub
parent
ea9e4e3da9
commit
acb541cc4e
+3
-3
@@ -58,10 +58,10 @@ export default defineConfig(({ mode }) => {
|
||||
minify: isMinify,
|
||||
lib: {
|
||||
entry: path.resolve(__dirname, "src/index.ts"),
|
||||
name: "forge",
|
||||
name: "spark",
|
||||
formats: ["es", "cjs"],
|
||||
fileName: (format) => {
|
||||
const base = format === "es" ? "forge.module" : `forge.${format}`;
|
||||
const base = format === "es" ? "spark.module" : `spark.${format}`;
|
||||
return isMinify ? `${base}.min.js` : `${base}.js`;
|
||||
},
|
||||
},
|
||||
@@ -98,7 +98,7 @@ export default defineConfig(({ mode }) => {
|
||||
},
|
||||
|
||||
define: {
|
||||
forgeLocalAssets: localAssetsDirectoryExist,
|
||||
sparkLocalAssets: localAssetsDirectoryExist,
|
||||
},
|
||||
};
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user