Skip to content

Commit

Permalink
Add dom-api module
Browse files Browse the repository at this point in the history
  • Loading branch information
kuzmadom committed Nov 22, 2024
1 parent d44dc72 commit 691c3f8
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 5 deletions.
13 changes: 10 additions & 3 deletions package-lock.json

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

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@
"@gravity-ui/date-utils.2.5.3": "npm:@gravity-ui/date-utils@^2.5.3",
"d3-chord.3.0.1": "npm:[email protected]",
"d3.7.9.0": "npm:[email protected]",
"webpack-cli": "^5.1.4"
"webpack-cli": "^5.1.4",
"@litejs/dom": "^24.8.0"
},
"engines": {
"node": ">= 18",
Expand Down
3 changes: 3 additions & 0 deletions src/entries/dom-api.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import {document as lightJsDocument} from '@litejs/dom';

export const document = lightJsDocument;
2 changes: 1 addition & 1 deletion webpack.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const path = require('path');

const entries = ['d3-chord/v3.0.1', 'd3/v7.9.0'];
const entries = ['d3-chord/v3.0.1', 'd3/v7.9.0', 'dom-api'];

module.exports = {
context: __dirname,
Expand Down

0 comments on commit 691c3f8

Please sign in to comment.