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
3
dist/jquery.uhr.main.js
vendored
3
dist/jquery.uhr.main.js
vendored
|
@ -1,4 +1,3 @@
|
|||
(function () {
|
||||
'use strict';
|
||||
|
||||
/*
|
||||
|
@ -816,5 +815,3 @@
|
|||
});
|
||||
$.fritteli.uhr.register = uhrGlobals.registerLanguage;
|
||||
})(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.cookie'
|
||||
],
|
||||
input: {
|
||||
'jquery.uhr.base': 'src/main-base.js'
|
||||
},
|
||||
input: 'src/main-base.js',
|
||||
output: [
|
||||
{
|
||||
dir: 'dist',
|
||||
entryFileNames: '[name].js',
|
||||
entryFileNames: 'jquery.uhr.base.js',
|
||||
format: 'cjs'
|
||||
},
|
||||
{
|
||||
dir: 'dist',
|
||||
entryFileNames: '[name].min.js',
|
||||
entryFileNames: 'jquery.uhr.base.min.js',
|
||||
format: 'cjs',
|
||||
plugins: [terser()]
|
||||
}
|
||||
|
|
|
@ -6,18 +6,16 @@ export default {
|
|||
'jquery-ui',
|
||||
'jquery.cookie'
|
||||
],
|
||||
input: {
|
||||
'jquery.uhr.baselangs': 'src/main-baselangs.js'
|
||||
},
|
||||
input: 'src/main-baselangs.js',
|
||||
output: [
|
||||
{
|
||||
dir: 'dist',
|
||||
entryFileNames: '[name].js',
|
||||
entryFileNames: 'jquery.uhr.baselangs.js',
|
||||
format: 'cjs'
|
||||
},
|
||||
{
|
||||
dir: 'dist',
|
||||
entryFileNames: '[name].min.js',
|
||||
entryFileNames: 'jquery.uhr.baselangs.min.js',
|
||||
format: 'cjs',
|
||||
plugins: [terser()]
|
||||
}
|
||||
|
|
|
@ -6,18 +6,16 @@ export default {
|
|||
'jquery-ui',
|
||||
'jquery.cookie'
|
||||
],
|
||||
input: {
|
||||
'jquery.uhr.complete': 'src/main-complete.js'
|
||||
},
|
||||
input: 'src/main-complete.js',
|
||||
output: [
|
||||
{
|
||||
dir: 'dist',
|
||||
entryFileNames: '[name].js',
|
||||
entryFileNames: 'jquery.uhr.complete.js',
|
||||
format: 'cjs'
|
||||
},
|
||||
{
|
||||
dir: 'dist',
|
||||
entryFileNames: '[name].min.js',
|
||||
entryFileNames: 'jquery.uhr.complete.min.js',
|
||||
format: 'cjs',
|
||||
plugins: [terser()]
|
||||
}
|
||||
|
|
|
@ -6,18 +6,16 @@ export default {
|
|||
'jquery-ui',
|
||||
'jquery.cookie'
|
||||
],
|
||||
input: {
|
||||
'jquery.uhr.langs': 'src/main-langs.js'
|
||||
},
|
||||
input: 'src/main-langs.js',
|
||||
output: [
|
||||
{
|
||||
dir: 'dist',
|
||||
entryFileNames: '[name].js',
|
||||
entryFileNames: 'jquery.uhr.langs.js',
|
||||
format: 'cjs'
|
||||
},
|
||||
{
|
||||
dir: 'dist',
|
||||
entryFileNames: '[name].min.js',
|
||||
entryFileNames: 'jquery.uhr.langs.min.js',
|
||||
format: 'cjs',
|
||||
plugins: [terser()]
|
||||
}
|
||||
|
|
|
@ -2,18 +2,16 @@ import {terser} from 'rollup-plugin-terser';
|
|||
import {nodeResolve} from '@rollup/plugin-node-resolve';
|
||||
|
||||
export default {
|
||||
input: {
|
||||
'libs': 'src/main-libs.js'
|
||||
},
|
||||
input: 'src/main-libs.js',
|
||||
output: [
|
||||
{
|
||||
dir: 'dist',
|
||||
entryFileNames: '[name].js',
|
||||
entryFileNames: 'libs.js',
|
||||
format: 'cjs'
|
||||
},
|
||||
{
|
||||
dir: 'dist',
|
||||
entryFileNames: '[name].min.js',
|
||||
entryFileNames: 'libs.min.js',
|
||||
format: 'cjs',
|
||||
plugins: [terser()]
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue