1
0
Fork 0

wip: Auto-updated dependencies

This commit is contained in:
Joost De Cock 2021-05-22 12:15:10 +02:00
parent 9d7bacef77
commit 85cf29bcc7
116 changed files with 1085 additions and 1317 deletions

View file

@ -23,18 +23,18 @@ const createConfig = (component, module) => {
peerDepsExternal(),
resolve({ modulesOnly: true }),
json(),
terser({
output: {
preamble: `/**\n * ${name} | v${version}\n * ${description}\n * (c) ${new Date().getFullYear()} ${author}\n * @license ${license}\n */`
}
})
//terser({
// output: {
// preamble: `/**\n * ${name} | v${version}\n * ${description}\n * (c) ${new Date().getFullYear()} ${author}\n * @license ${license}\n */`
// }
//})
]
}
}
const config = []
// When developing, you can use this to only rebuild the components you're working on
let dev = false
let dev = true
let only = ['Workbench']
for (let component of components) {
if (!dev || only.indexOf(component) !== -1) config.push(createConfig(component, false))