mirror of
https://github.com/dudaanton/obsidian-strudel-plugin.git
synced 2026-07-22 06:43:01 +00:00
Change main.css to styles.css
This commit is contained in:
parent
65efe33cc0
commit
d3e3acafbd
2 changed files with 2 additions and 2 deletions
|
|
@ -44,7 +44,7 @@ echo "Ensured target directory exists: $TARGET_DIR"
|
|||
cp -X "$BUILD_DIR/main.js" "$TARGET_DIR/main.js"
|
||||
echo "Copied main.js"
|
||||
|
||||
cp -X "$BUILD_DIR/main.css" "$TARGET_DIR/styles.css"
|
||||
cp -X "$BUILD_DIR/styles.css" "$TARGET_DIR/styles.css"
|
||||
echo "Copied styles.css"
|
||||
|
||||
cp -X "$PLUGIN_DIR/manifest.json" "$TARGET_DIR/manifest.json"
|
||||
|
|
|
|||
|
|
@ -78,7 +78,7 @@ export default defineConfig(async ({ mode }) => {
|
|||
output: {
|
||||
assetFileNames: (assetInfo) => {
|
||||
if (assetInfo.name && assetInfo.name.endsWith('.css')) {
|
||||
return 'main.css'
|
||||
return 'styles.css'
|
||||
}
|
||||
return '[name].[ext]'
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in a new issue