Simplify all rollup build configs.
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
621468b27f
commit
e06d1d6f73
7 changed files with 803 additions and 816 deletions
11
dist/jquery.uhr.main.js
vendored
11
dist/jquery.uhr.main.js
vendored
|
@ -1,7 +1,6 @@
|
||||||
(function () {
|
'use strict';
|
||||||
'use strict';
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
This program is free software: you can redistribute it and/or modify
|
This program is free software: you can redistribute it and/or modify
|
||||||
it under the terms of the GNU General Public License as published by
|
it under the terms of the GNU General Public License as published by
|
||||||
the Free Software Foundation, either version 3 of the License, or
|
the Free Software Foundation, either version 3 of the License, or
|
||||||
|
@ -15,7 +14,7 @@
|
||||||
You should have received a copy of the GNU General Public License
|
You should have received a copy of the GNU General Public License
|
||||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
(function ($) {
|
(function ($) {
|
||||||
var uhrGlobals = {
|
var uhrGlobals = {
|
||||||
"id": 0,
|
"id": 0,
|
||||||
"languages": [],
|
"languages": [],
|
||||||
|
@ -815,6 +814,4 @@
|
||||||
"_destroy": destroy
|
"_destroy": destroy
|
||||||
});
|
});
|
||||||
$.fritteli.uhr.register = uhrGlobals.registerLanguage;
|
$.fritteli.uhr.register = uhrGlobals.registerLanguage;
|
||||||
})(jQuery);
|
})(jQuery);
|
||||||
|
|
||||||
}());
|
|
||||||
|
|
2
dist/jquery.uhr.main.min.js
vendored
2
dist/jquery.uhr.main.min.js
vendored
File diff suppressed because one or more lines are too long
|
@ -6,18 +6,16 @@ export default {
|
||||||
'jquery-ui',
|
'jquery-ui',
|
||||||
'jquery.cookie'
|
'jquery.cookie'
|
||||||
],
|
],
|
||||||
input: {
|
input: 'src/main-base.js',
|
||||||
'jquery.uhr.base': 'src/main-base.js'
|
|
||||||
},
|
|
||||||
output: [
|
output: [
|
||||||
{
|
{
|
||||||
dir: 'dist',
|
dir: 'dist',
|
||||||
entryFileNames: '[name].js',
|
entryFileNames: 'jquery.uhr.base.js',
|
||||||
format: 'cjs'
|
format: 'cjs'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
dir: 'dist',
|
dir: 'dist',
|
||||||
entryFileNames: '[name].min.js',
|
entryFileNames: 'jquery.uhr.base.min.js',
|
||||||
format: 'cjs',
|
format: 'cjs',
|
||||||
plugins: [terser()]
|
plugins: [terser()]
|
||||||
}
|
}
|
||||||
|
|
|
@ -6,18 +6,16 @@ export default {
|
||||||
'jquery-ui',
|
'jquery-ui',
|
||||||
'jquery.cookie'
|
'jquery.cookie'
|
||||||
],
|
],
|
||||||
input: {
|
input: 'src/main-baselangs.js',
|
||||||
'jquery.uhr.baselangs': 'src/main-baselangs.js'
|
|
||||||
},
|
|
||||||
output: [
|
output: [
|
||||||
{
|
{
|
||||||
dir: 'dist',
|
dir: 'dist',
|
||||||
entryFileNames: '[name].js',
|
entryFileNames: 'jquery.uhr.baselangs.js',
|
||||||
format: 'cjs'
|
format: 'cjs'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
dir: 'dist',
|
dir: 'dist',
|
||||||
entryFileNames: '[name].min.js',
|
entryFileNames: 'jquery.uhr.baselangs.min.js',
|
||||||
format: 'cjs',
|
format: 'cjs',
|
||||||
plugins: [terser()]
|
plugins: [terser()]
|
||||||
}
|
}
|
||||||
|
|
|
@ -6,18 +6,16 @@ export default {
|
||||||
'jquery-ui',
|
'jquery-ui',
|
||||||
'jquery.cookie'
|
'jquery.cookie'
|
||||||
],
|
],
|
||||||
input: {
|
input: 'src/main-complete.js',
|
||||||
'jquery.uhr.complete': 'src/main-complete.js'
|
|
||||||
},
|
|
||||||
output: [
|
output: [
|
||||||
{
|
{
|
||||||
dir: 'dist',
|
dir: 'dist',
|
||||||
entryFileNames: '[name].js',
|
entryFileNames: 'jquery.uhr.complete.js',
|
||||||
format: 'cjs'
|
format: 'cjs'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
dir: 'dist',
|
dir: 'dist',
|
||||||
entryFileNames: '[name].min.js',
|
entryFileNames: 'jquery.uhr.complete.min.js',
|
||||||
format: 'cjs',
|
format: 'cjs',
|
||||||
plugins: [terser()]
|
plugins: [terser()]
|
||||||
}
|
}
|
||||||
|
|
|
@ -6,18 +6,16 @@ export default {
|
||||||
'jquery-ui',
|
'jquery-ui',
|
||||||
'jquery.cookie'
|
'jquery.cookie'
|
||||||
],
|
],
|
||||||
input: {
|
input: 'src/main-langs.js',
|
||||||
'jquery.uhr.langs': 'src/main-langs.js'
|
|
||||||
},
|
|
||||||
output: [
|
output: [
|
||||||
{
|
{
|
||||||
dir: 'dist',
|
dir: 'dist',
|
||||||
entryFileNames: '[name].js',
|
entryFileNames: 'jquery.uhr.langs.js',
|
||||||
format: 'cjs'
|
format: 'cjs'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
dir: 'dist',
|
dir: 'dist',
|
||||||
entryFileNames: '[name].min.js',
|
entryFileNames: 'jquery.uhr.langs.min.js',
|
||||||
format: 'cjs',
|
format: 'cjs',
|
||||||
plugins: [terser()]
|
plugins: [terser()]
|
||||||
}
|
}
|
||||||
|
|
|
@ -2,18 +2,16 @@ import {terser} from 'rollup-plugin-terser';
|
||||||
import {nodeResolve} from '@rollup/plugin-node-resolve';
|
import {nodeResolve} from '@rollup/plugin-node-resolve';
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
input: {
|
input: 'src/main-libs.js',
|
||||||
'libs': 'src/main-libs.js'
|
|
||||||
},
|
|
||||||
output: [
|
output: [
|
||||||
{
|
{
|
||||||
dir: 'dist',
|
dir: 'dist',
|
||||||
entryFileNames: '[name].js',
|
entryFileNames: 'libs.js',
|
||||||
format: 'cjs'
|
format: 'cjs'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
dir: 'dist',
|
dir: 'dist',
|
||||||
entryFileNames: '[name].min.js',
|
entryFileNames: 'libs.min.js',
|
||||||
format: 'cjs',
|
format: 'cjs',
|
||||||
plugins: [terser()]
|
plugins: [terser()]
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue