1
0
Fork 0

feat: Changes to utils for new measurement icons

This commit is contained in:
Joost De Cock 2021-05-30 18:27:53 +02:00
parent 5e48846884
commit bb64eebd7c
4 changed files with 20 additions and 14 deletions

View file

@ -23,11 +23,11 @@ const createConfig = (util, 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 */`
// }
//})
]
}
}
@ -36,6 +36,6 @@ const config = []
for (let util of utils) {
config.push(createConfig(util, false))
// Webpack doesn't handle .mjs very well
//config.push(createConfig(util, true));
config.push(createConfig(util, true));
}
export default config