build: add umd names

This commit is contained in:
Rongjian Zhang 2022-03-09 13:09:42 +08:00
parent d02f736778
commit 86eee68f29
2 changed files with 28 additions and 0 deletions

View File

@ -0,0 +1,14 @@
// @ts-check
import { defineConfig } from '@norm/cli'
export default defineConfig({
build: {
rollupOptions: {
output: {
globals: {
'highlight.js/lib/core': 'hljs',
},
},
},
},
})

View File

@ -0,0 +1,14 @@
// @ts-check
import { defineConfig } from '@norm/cli'
export default defineConfig({
build: {
rollupOptions: {
output: {
globals: {
'highlight.js': 'hljs',
},
},
},
},
})