feat: support CJK & ANS spacing
This commit is contained in:
parent
25cfc2229a
commit
20c70557b5
12 changed files with 1028 additions and 49 deletions
30
rollup.config.js
Normal file
30
rollup.config.js
Normal file
|
@ -0,0 +1,30 @@
|
|||
import commonjs from '@rollup/plugin-commonjs';
|
||||
import resolve from '@rollup/plugin-node-resolve';
|
||||
import {terser} from 'rollup-plugin-terser';
|
||||
|
||||
export default {
|
||||
input: 'add-ons/add-on.js',
|
||||
output: [
|
||||
{
|
||||
file: '_site/heti-addon.debug.js',
|
||||
name: 'Heti',
|
||||
format: 'umd'
|
||||
},
|
||||
{
|
||||
file: 'dist/heti-addon.min.js',
|
||||
format: 'umd',
|
||||
name: 'Heti',
|
||||
plugins: [
|
||||
terser({
|
||||
output: {
|
||||
comments: false
|
||||
}
|
||||
})
|
||||
]
|
||||
},
|
||||
],
|
||||
plugins: [
|
||||
resolve(),
|
||||
commonjs(),
|
||||
]
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue