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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user