Skip to content

Commit

Permalink
chore: update pob root
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] authored and christophehurpeau committed May 6, 2024
1 parent 030355d commit 7d1b82c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@
## Examples

```js
import { defineGetter } from 'object-properties'; // or var defineGetter = require('object-properties').defineGetter;
import { defineGetter } from "object-properties"; // or var defineGetter = require('object-properties').defineGetter;

let object = {};

defineGetter(object, 'test', () => 'test');
defineGetter(object, "test", () => "test");
```

## Available methods
Expand Down
8 changes: 4 additions & 4 deletions rollup.config.mjs
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { dirname } from 'node:path';
import { fileURLToPath } from 'node:url';
import createRollupConfig from '@pob/rollup-typescript/createRollupConfig.js';
import { dirname } from "node:path";
import { fileURLToPath } from "node:url";
import createRollupConfig from "@pob/rollup-typescript/createRollupConfig.js";

export default createRollupConfig({
cwd: dirname(fileURLToPath(import.meta.url)),
outDirectory: 'dist',
outDirectory: "dist",
});

0 comments on commit 7d1b82c

Please sign in to comment.