Skip to content

Commit

Permalink
style: fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
GeekyEggo committed Jun 27, 2024
1 parent 3ce1bf5 commit fbf36d1
Showing 1 changed file with 26 additions and 26 deletions.
52 changes: 26 additions & 26 deletions rollup.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,32 +29,32 @@ const external = [
* CLI bundling.
*/
const options: RollupOptions = {
input: "src/cli.ts",
output: {
banner,
file: "bin/streamdeck.mjs",
sourcemap: isWatching,
sourcemapPathTransform: (relativeSourcePath: string, sourcemapPath: string): string => {
return url.pathToFileURL(path.resolve(path.dirname(sourcemapPath), relativeSourcePath)).href;
},
},
external,
plugins: [
typescript(),
json(),
commonjs(),
nodeResolve({
browser: false,
exportConditions: ["node"],
preferBuiltins: true,
}),
!isWatching &&
terser({
format: {
comments: false,
},
}),
],
input: "src/cli.ts",
output: {
banner,
file: "bin/streamdeck.mjs",
sourcemap: isWatching,
sourcemapPathTransform: (relativeSourcePath: string, sourcemapPath: string): string => {
return url.pathToFileURL(path.resolve(path.dirname(sourcemapPath), relativeSourcePath)).href;
},
},
external,
plugins: [
typescript(),
json(),
commonjs(),
nodeResolve({
browser: false,
exportConditions: ["node"],
preferBuiltins: true,
}),
!isWatching &&
terser({
format: {
comments: false,
},
}),
],
}

export default options;

0 comments on commit fbf36d1

Please sign in to comment.