mirror of
https://github.com/tauri-apps/tauri-action.git
synced 2026-01-31 00:35:20 +01:00
* 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
26 lines
518 B
JavaScript
26 lines
518 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({
|
|
allowSyntheticDefaultImports: true,
|
|
}),
|
|
],
|
|
external: [...Object.keys(pkg.dependencies || {}), 'path'],
|
|
watch: {
|
|
chokidar: true,
|
|
include: 'src/**',
|
|
exclude: 'node_modules/**',
|
|
},
|
|
};
|