2
0
mirror of https://github.com/tenrok/vue2-datepicker.git synced 2026-06-08 18:32:27 +03:00

build: update umd lang name

This commit is contained in:
mengxiong10
2019-11-14 18:46:02 +08:00
parent ffd3918536
commit 2d8c908f93
+1 -1
View File
@@ -22,7 +22,7 @@ const plugins = [
const umd = fileList.map(file => {
const input = path.join(localePath, file);
const external = ['vue2-datepicker'];
const name = path.basename(file, '.js').replace(/-/g, '');
const name = path.basename(file, '.js').replace(/-(\w+)/g, (m, p1) => p1.toUpperCase());
return {
input,
plugins,