Skip to content
This repository was archived by the owner on Nov 10, 2023. It is now read-only.

Commit e4b6c36

Browse files
Update
1 parent 320b346 commit e4b6c36

File tree

4 files changed

+7
-8
lines changed

4 files changed

+7
-8
lines changed

dist/vue3-code-block.cjs.js

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/vue3-code-block.es.js

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "vue3-code-block",
3-
"version": "2.2.14",
3+
"version": "2.2.12",
44
"description": "Vue 3 CodeBlock - Highlight your code with ease using this syntax highlighting component powered by PrismJS or Highlight.js.",
55
"private": false,
66
"main": "dist/vue3-code-block.cjs.js",

vite.build.config.ts

+2-3
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,10 @@ import typescript from 'rollup-plugin-typescript2';
1111
import vue from '@vitejs/plugin-vue';
1212
import { viteStaticCopy } from 'vite-plugin-static-copy';
1313

14-
const scopedPackageName = pkg.name;
15-
const packageName = scopedPackageName.split('/')[1];
14+
const packageName = pkg.name;
1615

1716
const banner = `/**
18-
* @name ${scopedPackageName}
17+
* @name ${packageName}
1918
* @version ${pkg.version}
2019
* @description ${pkg.description}
2120
* @author ${pkg.author}

0 commit comments

Comments
 (0)