Files
archived-tauri-action/packages/core/rollup.config.js
Fabian-Lars dddfe2eddb fix: read tagName if releaseId is provided. fixes incorrect download urls (#332)
* chore: add prettier

* fix: get tag from release if tagName is empty

* use tagName input and fall back to 'latest'

* revert tagname request

* fix link on 'latest' fallback

* starting to feel stupid

* oof

* add note about tagName in readme
2022-12-05 01:39:28 +01:00

26 lines
511 B
JavaScript

import typescript from '@rollup/plugin-typescript';
import pkg from './package.json';
export default {
treeshake: true,
perf: true,
input: { index: 'index.ts' },
output: {
dir: 'dist',
format: 'esm',
entryFileNames: '[name].js',
exports: 'named',
},
plugins: [
typescript({
tsconfig: './tsconfig.json',
}),
],
external: [...Object.keys(pkg.dependencies || {}), 'path'],
watch: {
chokidar: true,
include: 'src/**',
exclude: 'node_modules/**',
},
};