Skip to content

Commit

Permalink
build(deps-dev): bump @rollup/plugin-typescript from 11.1.6 to 12.1.2 (
Browse files Browse the repository at this point in the history
…#498)

* build(deps-dev): bump @rollup/plugin-typescript from 11.1.6 to 12.1.2

Bumps [@rollup/plugin-typescript](https://github.com/rollup/plugins/tree/HEAD/packages/typescript) from 11.1.6 to 12.1.2.
- [Changelog](https://github.com/rollup/plugins/blob/master/packages/typescript/CHANGELOG.md)
- [Commits](https://github.com/rollup/plugins/commits/typescript-v12.1.2/packages/typescript)

---
updated-dependencies:
- dependency-name: "@rollup/plugin-typescript"
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>

* build(rollup): allow for files to be nested in folders within outDir

See rollup/plugins#1783

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Mark <[email protected]>
  • Loading branch information
dependabot[bot] and remarkablemark authored Dec 29, 2024
1 parent 37dc9c9 commit 740f10c
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 8 deletions.
14 changes: 7 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
"@rollup/plugin-commonjs": "28.0.2",
"@rollup/plugin-node-resolve": "16.0.0",
"@rollup/plugin-terser": "0.4.4",
"@rollup/plugin-typescript": "11.1.6",
"@rollup/plugin-typescript": "12.1.2",
"@types/jest": "29.5.14",
"@types/node": "22.10.2",
"@typescript-eslint/eslint-plugin": "8.18.2",
Expand Down
5 changes: 5 additions & 0 deletions rollup.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,24 @@ import typescript from '@rollup/plugin-typescript';

const getConfig = (minify = false) => ({
input: 'src/index.ts',

output: {
file: `dist/style-to-object${minify ? '.min' : ''}.js`,
format: 'umd',
name: 'StyleToObject',
sourcemap: true,
},

plugins: [
commonjs(),
resolve(),
typescript({
declaration: false,
declarationMap: false,
module: 'esnext',
compilerOptions: {
outDir: 'dist',
},
}),
minify && terser(),
],
Expand Down

0 comments on commit 740f10c

Please sign in to comment.