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

Commit c85f7a5

Browse files
Added terser and bundled
1 parent c693823 commit c85f7a5

File tree

3 files changed

+5
-15792
lines changed

3 files changed

+5
-15792
lines changed

dist/vue3-code-block.es.js

Lines changed: 1 addition & 7893 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/vue3-code-block.js

Lines changed: 1 addition & 7897 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

rollup.config.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import json from '@rollup/plugin-json';
99
import { fileURLToPath, URL } from 'node:url';
1010
import scss from 'rollup-plugin-scss';
1111
import postcss from 'rollup-plugin-postcss';
12-
// import terser from '@rollup/plugin-terser';
12+
import terser from '@rollup/plugin-terser';
1313
import copy from 'rollup-plugin-copy';
1414

1515
const banner = `/**
@@ -82,7 +82,7 @@ export default {
8282
modules: false,
8383
extract: false,
8484
inject: true,
85-
// minimize: true,
85+
minimize: true,
8686
use: [
8787
[
8888
"sass",
@@ -98,5 +98,6 @@ export default {
9898
{ src: 'src/plugin/themes', dest: 'dist' },
9999
]
100100
}),
101+
terser(),
101102
],
102103
};

0 commit comments

Comments
 (0)