2.0.3 • Published 4 months ago
dubhe-pub v2.0.3
dubhe-pub
publishing side for dubhe
base options:
const config = {
project: 'viteout', // projectID
entry: {
// entries
},
types: true, // output dts
externals: (id) => {
// which use cdn
},
HMR: [
// hmr port
],
source: false, // output source code
}
vite
// in vite.config.ts
import { Pub } from 'dubhe-pub/vite'
export default {
plugins: [
Pub(config)
]
}
esbuild
import { build } from 'esbuild'
import { Pub } from 'dubhe-pub/esbuild'
import { merge } from 'esbuild-plugin-merge'// not support esbuild^0.17
import vue from 'unplugin-vue/esbuild'
build({
watch: true, // use watch mode
plugins: [merge([vue(), ...Pub(config)])],
})
2.1.0-beta.5
4 months ago
2.1.0-beta.3
11 months ago
2.0.5-beta.1
12 months ago
2.0.5-beta.0
12 months ago
2.0.3
12 months ago
2.0.2
12 months ago
2.0.4
12 months ago
1.0.1
1 year ago
2.0.0-alpha.0
12 months ago
1.0.5
1 year ago
2.0.0
12 months ago
1.0.3
1 year ago
1.0.0
1 year ago