Loading files
This file is pinned to the selected release. Download the original to open it in your design tool.
import * as fs from 'fs'
import terser from '@rollup/plugin-terser'
const {name, version, license} = JSON.parse(fs.readFileSync('package.json'))
export default {
input: './src/index.js',
output: [
{
file: './dist/jscad-array-utils.js',
format: 'es',
banner: `/*! ${name} V${version} (${license}) */`
}
],
plugins: [
terser({ compress: { module: true }, mangle: false, format: { comments: 'some' } })
]
}
d037b79dcThis file is pinned to the selected release. Download the original to open it in your design tool.