solid-panes 3.5.21-9a6907a3 → 3.5.21-alpha-ede59288

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/.eslintrc CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
+ "root": true,
2
3
  "env": {
3
4
  "browser": true,
4
5
  "es6": true,
5
6
  "node": true
6
7
  },
7
- "extends": "standard",
8
8
  "globals": {
9
9
  "Atomics": "readonly",
10
10
  "SharedArrayBuffer": "readonly"
package/jest.config.js CHANGED
@@ -11,10 +11,10 @@ module.exports = {
11
11
  // https://github.com/gotwarlost/istanbul/blob/master/ignoring-code-for-coverage.md
12
12
  coverageThreshold: {
13
13
  global: {
14
- branches: 20,
15
- functions: 33,
16
- lines: 35,
17
- statements: 35
14
+ branches: 10,
15
+ functions: 25,
16
+ lines: 20,
17
+ statements: 20
18
18
  }
19
19
  },
20
20
  setupFilesAfterEnv: ['./jest.setup.ts']
@@ -1,3 +1,3 @@
1
- import { IndexedFormula } from 'rdflib';
2
- export declare function createFooter(store: IndexedFormula): void;
1
+ import { LiveStore } from 'rdflib';
2
+ export declare function createFooter(store: LiveStore): void;
3
3
  //# sourceMappingURL=footer.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"footer.d.ts","sourceRoot":"","sources":["../../src/mainPage/footer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,QAAQ,CAAA;AASvC,wBAAgB,YAAY,CAAE,KAAK,EAAE,cAAc,QAElD"}
1
+ {"version":3,"file":"footer.d.ts","sourceRoot":"","sources":["../../src/mainPage/footer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAA;AASlC,wBAAgB,YAAY,CAAE,KAAK,EAAE,SAAS,QAE7C"}
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/mainPage/footer.ts"],"names":["SOLID_PROJECT_URL","SOLID_PROJECT_NAME","createFooter","store","setFooterOptions","solidProjectUrl","solidProjectName"],"mappings":";;;;;;;AACA;;AAEA;AACA;AACA;AACA,IAAMA,iBAAiB,GAAG,0BAA1B;AACA,IAAMC,kBAAkB,GAAG,kBAA3B;;AAEO,SAASC,YAAT,CAAuBC,KAAvB,EAA8C;AACnD,2BAAWA,KAAX,EAAkBC,gBAAgB,EAAlC;AACD;;AAED,SAASA,gBAAT,GAA6B;AAC3B,SAAO;AACLC,IAAAA,eAAe,EAAEL,iBADZ;AAELM,IAAAA,gBAAgB,EAAEL;AAFb,GAAP;AAID","sourcesContent":["import { IndexedFormula } from 'rdflib'\nimport { initFooter } from 'solid-ui'\n\n/**\n * links in the footer\n*/\nconst SOLID_PROJECT_URL = 'https://solidproject.org'\nconst SOLID_PROJECT_NAME = 'solidproject.org'\n\nexport function createFooter (store: IndexedFormula) {\n initFooter(store, setFooterOptions())\n}\n\nfunction setFooterOptions () {\n return {\n solidProjectUrl: SOLID_PROJECT_URL,\n solidProjectName: SOLID_PROJECT_NAME\n }\n}\n"],"file":"footer.js"}
1
+ {"version":3,"sources":["../../src/mainPage/footer.ts"],"names":["SOLID_PROJECT_URL","SOLID_PROJECT_NAME","createFooter","store","setFooterOptions","solidProjectUrl","solidProjectName"],"mappings":";;;;;;;AACA;;AAEA;AACA;AACA;AACA,IAAMA,iBAAiB,GAAG,0BAA1B;AACA,IAAMC,kBAAkB,GAAG,kBAA3B;;AAEO,SAASC,YAAT,CAAuBC,KAAvB,EAAyC;AAC9C,2BAAWA,KAAX,EAAkBC,gBAAgB,EAAlC;AACD;;AAED,SAASA,gBAAT,GAA6B;AAC3B,SAAO;AACLC,IAAAA,eAAe,EAAEL,iBADZ;AAELM,IAAAA,gBAAgB,EAAEL;AAFb,GAAP;AAID","sourcesContent":["import { LiveStore } from 'rdflib'\nimport { initFooter } from 'solid-ui'\n\n/**\n * links in the footer\n*/\nconst SOLID_PROJECT_URL = 'https://solidproject.org'\nconst SOLID_PROJECT_NAME = 'solidproject.org'\n\nexport function createFooter (store: LiveStore) {\n initFooter(store, setFooterOptions())\n}\n\nfunction setFooterOptions () {\n return {\n solidProjectUrl: SOLID_PROJECT_URL,\n solidProjectName: SOLID_PROJECT_NAME\n }\n}\n"],"file":"footer.js"}
@@ -1,3 +1,3 @@
1
- import { IndexedFormula, NamedNode } from 'rdflib';
2
- export default function initMainPage(store: IndexedFormula, uri?: string | NamedNode | null): Promise<[void, void]>;
1
+ import { LiveStore, NamedNode } from 'rdflib';
2
+ export default function initMainPage(store: LiveStore, uri?: string | NamedNode | null): Promise<[void, void]>;
3
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/mainPage/index.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAA;AAKlD,wBAA8B,YAAY,CAAE,KAAK,EAAE,cAAc,EAAE,GAAG,CAAC,EAAE,MAAM,GAAC,SAAS,GAAC,IAAI,yBAS7F"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/mainPage/index.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAA;AAK7C,wBAA8B,YAAY,CAAE,KAAK,EAAE,SAAS,EAAE,GAAG,CAAC,EAAE,MAAM,GAAC,SAAS,GAAC,IAAI,yBASxF"}
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/mainPage/index.ts"],"names":["initMainPage","store","uri","outliner","document","window","location","href","subject","sym","GotoSubject","undefined","header","footer","Promise","all"],"mappings":";;;;;;;AAMA;;AACA;;AACA;;;;;;SAE8BA,Y;;;;;0EAAf,iBAA6BC,KAA7B,EAAoDC,GAApD;AAAA;AAAA;AAAA;AAAA;AAAA;AACPC,YAAAA,QADO,GACI,wBAAYC,QAAZ,CADJ;AAEbF,YAAAA,GAAG,GAAGA,GAAG,IAAIG,MAAM,CAACC,QAAP,CAAgBC,IAA7B;AACIC,YAAAA,OAHS,GAGCN,GAHD;AAIb,gBAAI,OAAOA,GAAP,KAAe,QAAnB,EAA6BM,OAAO,GAAGP,KAAK,CAACQ,GAAN,CAAUP,GAAV,CAAV;AAC7BC,YAAAA,QAAQ,CAACO,WAAT,CAAqBF,OAArB,EAA8B,IAA9B,EAAoCG,SAApC,EAA+C,IAA/C,EAAqDA,SAArD;AALa;AAAA,mBAMQ,0BAAaV,KAAb,EAAoBE,QAApB,CANR;;AAAA;AAMPS,YAAAA,MANO;AAOPC,YAAAA,MAPO,GAOE,0BAAaZ,KAAb,CAPF;AAAA,6CAQNa,OAAO,CAACC,GAAR,CAAY,CAACH,MAAD,EAASC,MAAT,CAAZ,CARM;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,G","sourcesContent":["/* Main Page\n **\n ** This code is called in mashlib and renders the header and footer of the Databrowser.\n */\n\nimport { IndexedFormula, NamedNode } from 'rdflib'\nimport { getOutliner } from '../index'\nimport { createHeader } from './header'\nimport { createFooter } from './footer'\n\nexport default async function initMainPage (store: IndexedFormula, uri?: string|NamedNode|null) {\n const outliner = getOutliner(document)\n uri = uri || window.location.href\n let subject = uri\n if (typeof uri === 'string') subject = store.sym(uri)\n outliner.GotoSubject(subject, true, undefined, true, undefined)\n const header = await createHeader(store, outliner)\n const footer = createFooter(store)\n return Promise.all([header, footer])\n}\n"],"file":"index.js"}
1
+ {"version":3,"sources":["../../src/mainPage/index.ts"],"names":["initMainPage","store","uri","outliner","document","window","location","href","subject","sym","GotoSubject","undefined","header","footer","Promise","all"],"mappings":";;;;;;;AAMA;;AACA;;AACA;;;;;;SAE8BA,Y;;;;;0EAAf,iBAA6BC,KAA7B,EAA+CC,GAA/C;AAAA;AAAA;AAAA;AAAA;AAAA;AACPC,YAAAA,QADO,GACI,wBAAYC,QAAZ,CADJ;AAEbF,YAAAA,GAAG,GAAGA,GAAG,IAAIG,MAAM,CAACC,QAAP,CAAgBC,IAA7B;AACIC,YAAAA,OAHS,GAGCN,GAHD;AAIb,gBAAI,OAAOA,GAAP,KAAe,QAAnB,EAA6BM,OAAO,GAAGP,KAAK,CAACQ,GAAN,CAAUP,GAAV,CAAV;AAC7BC,YAAAA,QAAQ,CAACO,WAAT,CAAqBF,OAArB,EAA8B,IAA9B,EAAoCG,SAApC,EAA+C,IAA/C,EAAqDA,SAArD;AALa;AAAA,mBAMQ,0BAAaV,KAAb,EAAoBE,QAApB,CANR;;AAAA;AAMPS,YAAAA,MANO;AAOPC,YAAAA,MAPO,GAOE,0BAAaZ,KAAb,CAPF;AAAA,6CAQNa,OAAO,CAACC,GAAR,CAAY,CAACH,MAAD,EAASC,MAAT,CAAZ,CARM;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,G","sourcesContent":["/* Main Page\n **\n ** This code is called in mashlib and renders the header and footer of the Databrowser.\n */\n\nimport { LiveStore, NamedNode } from 'rdflib'\nimport { getOutliner } from '../index'\nimport { createHeader } from './header'\nimport { createFooter } from './footer'\n\nexport default async function initMainPage (store: LiveStore, uri?: string|NamedNode|null) {\n const outliner = getOutliner(document)\n uri = uri || window.location.href\n let subject = uri\n if (typeof uri === 'string') subject = store.sym(uri)\n outliner.GotoSubject(subject, true, undefined, true, undefined)\n const header = await createHeader(store, outliner)\n const footer = createFooter(store)\n return Promise.all([header, footer])\n}\n"],"file":"index.js"}
@@ -1 +1 @@
1
- {"version":3,"file":"versionInfo.d.ts","sourceRoot":"","sources":["../src/versionInfo.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AAAA,wBAuBC"}
1
+ {"version":3,"file":"versionInfo.d.ts","sourceRoot":"","sources":["../src/versionInfo.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AAAA,wBAuBE"}
@@ -5,10 +5,10 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports["default"] = void 0;
7
7
  var _default = {
8
- buildTime: '2022-03-22T16:54:30Z',
9
- commit: '9a6907a39367c8164945b5f90c613ca604d09f1d',
8
+ buildTime: "2022-03-29T15:40:53Z",
9
+ commit: "ede592887156f6cb74ec9d3649b4a3560e128106",
10
10
  npmInfo: {
11
- 'solid-panes': '3.5.21',
11
+ 'solid-panes': '3.5.21-alpha',
12
12
  npm: '6.14.16',
13
13
  ares: '1.18.1',
14
14
  brotli: '1.0.9',
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/versionInfo.ts"],"names":["buildTime","commit","npmInfo","npm","ares","brotli","cldr","icu","llhttp","modules","napi","nghttp2","node","openssl","tz","unicode","uv","v8","zlib"],"mappings":";;;;;;eAAe;AACbA,EAAAA,SAAS,EAAE,sBADE;AAEbC,EAAAA,MAAM,EAAE,0CAFK;AAGbC,EAAAA,OAAO,EACT;AACE,mBAAe,QADjB;AAEEC,IAAAA,GAAG,EAAE,SAFP;AAGEC,IAAAA,IAAI,EAAE,QAHR;AAIEC,IAAAA,MAAM,EAAE,OAJV;AAKEC,IAAAA,IAAI,EAAE,MALR;AAMEC,IAAAA,GAAG,EAAE,MANP;AAOEC,IAAAA,MAAM,EAAE,OAPV;AAQEC,IAAAA,OAAO,EAAE,IARX;AASEC,IAAAA,IAAI,EAAE,GATR;AAUEC,IAAAA,OAAO,EAAE,QAVX;AAWEC,IAAAA,IAAI,EAAE,SAXR;AAYEC,IAAAA,OAAO,EAAE,QAZX;AAaEC,IAAAA,EAAE,EAAE,QAbN;AAcEC,IAAAA,OAAO,EAAE,MAdX;AAeEC,IAAAA,EAAE,EAAE,QAfN;AAgBEC,IAAAA,EAAE,EAAE,oBAhBN;AAiBEC,IAAAA,IAAI,EAAE;AAjBR;AAJe,C","sourcesContent":["export default {\n buildTime: '2022-03-22T16:54:30Z',\n commit: '9a6907a39367c8164945b5f90c613ca604d09f1d',\n npmInfo:\n{\n 'solid-panes': '3.5.21',\n npm: '6.14.16',\n ares: '1.18.1',\n brotli: '1.0.9',\n cldr: '40.0',\n icu: '70.1',\n llhttp: '2.1.4',\n modules: '83',\n napi: '8',\n nghttp2: '1.42.0',\n node: '14.19.0',\n openssl: '1.1.1m',\n tz: '2021a3',\n unicode: '14.0',\n uv: '1.42.0',\n v8: '8.4.371.23-node.85',\n zlib: '1.2.11'\n}\n}\n"],"file":"versionInfo.js"}
1
+ {"version":3,"sources":["../src/versionInfo.ts"],"names":["buildTime","commit","npmInfo","npm","ares","brotli","cldr","icu","llhttp","modules","napi","nghttp2","node","openssl","tz","unicode","uv","v8","zlib"],"mappings":";;;;;;eAAe;AACfA,EAAAA,SAAS,EAAE,sBADI;AAEfC,EAAAA,MAAM,EAAE,0CAFO;AAGfC,EAAAA,OAAO,EACP;AACE,mBAAe,cADjB;AAEEC,IAAAA,GAAG,EAAE,SAFP;AAGEC,IAAAA,IAAI,EAAE,QAHR;AAIEC,IAAAA,MAAM,EAAE,OAJV;AAKEC,IAAAA,IAAI,EAAE,MALR;AAMEC,IAAAA,GAAG,EAAE,MANP;AAOEC,IAAAA,MAAM,EAAE,OAPV;AAQEC,IAAAA,OAAO,EAAE,IARX;AASEC,IAAAA,IAAI,EAAE,GATR;AAUEC,IAAAA,OAAO,EAAE,QAVX;AAWEC,IAAAA,IAAI,EAAE,SAXR;AAYEC,IAAAA,OAAO,EAAE,QAZX;AAaEC,IAAAA,EAAE,EAAE,QAbN;AAcEC,IAAAA,OAAO,EAAE,MAdX;AAeEC,IAAAA,EAAE,EAAE,QAfN;AAgBEC,IAAAA,EAAE,EAAE,oBAhBN;AAiBEC,IAAAA,IAAI,EAAE;AAjBR;AAJe,C","sourcesContent":["export default {\nbuildTime: \"2022-03-29T15:40:53Z\",\ncommit: \"ede592887156f6cb74ec9d3649b4a3560e128106\",\nnpmInfo:\n{\n 'solid-panes': '3.5.21-alpha',\n npm: '6.14.16',\n ares: '1.18.1',\n brotli: '1.0.9',\n cldr: '40.0',\n icu: '70.1',\n llhttp: '2.1.4',\n modules: '83',\n napi: '8',\n nghttp2: '1.42.0',\n node: '14.19.0',\n openssl: '1.1.1m',\n tz: '2021a3',\n unicode: '14.0',\n uv: '1.42.0',\n v8: '8.4.371.23-node.85',\n zlib: '1.2.11'\n}\n};\n"],"file":"versionInfo.js"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "solid-panes",
3
- "version": "3.5.21-9a6907a3",
3
+ "version": "3.5.21-alpha-ede59288",
4
4
  "description": "Solid-compatible Panes: applets and views for the mashlib and databrowser",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",
@@ -44,57 +44,50 @@
44
44
  },
45
45
  "homepage": "https://github.com/solid/solid-panes",
46
46
  "dependencies": {
47
- "@babel/polyfill": "^7.12.1",
48
47
  "@solid/better-simple-slideshow": "^0.1.0",
49
48
  "activitystreams-pane": "^0.6.4",
50
- "babel-preset-env": "^1.7.0",
51
- "babel-preset-metalab": "^1.0.0",
52
49
  "chat-pane": "^2.4.16",
53
50
  "contacts-pane": "^2.6.1",
54
51
  "folder-pane": "^2.4.14",
55
52
  "issue-pane": "^2.4.10",
56
53
  "marked": "^4.0.12",
57
54
  "meeting-pane": "^2.3.9",
58
- "mime-types": "^2.1.34",
59
- "pane-registry": "^2.4.7",
60
- "path-browserify": "^1.0.1",
55
+ "mime-types": "^2.1.35",
56
+ "pane-registry": "^2.4.8",
61
57
  "profile-pane": "^1.0.8",
62
- "rdflib": "^2.2.17",
63
- "react": "^17.0.2",
64
- "react-dom": "^17.0.2",
65
- "solid-logic": "^1.3.14",
58
+ "rdflib": "^2.2.19",
59
+ "solid-logic": "^1.3.15",
66
60
  "solid-namespace": "^0.5.2",
67
- "solid-ui": "^2.4.19",
61
+ "solid-ui": "^2.4.19-alpha",
68
62
  "source-pane": "^2.2.15"
69
63
  },
70
64
  "devDependencies": {
71
- "@babel/cli": "^7.16.0",
72
- "@babel/core": "^7.16.5",
73
- "@babel/preset-env": "^7.16.5",
74
- "@babel/preset-typescript": "^7.16.5",
75
- "@testing-library/dom": "^8.11.1",
76
- "@testing-library/jest-dom": "^5.16.1",
77
- "@types/jest": "^27.0.3",
65
+ "@babel/cli": "^7.17.6",
66
+ "@babel/core": "^7.17.8",
67
+ "@babel/preset-env": "^7.16.11",
68
+ "@babel/preset-typescript": "^7.16.7",
69
+ "@testing-library/dom": "^8.12.0",
70
+ "@testing-library/jest-dom": "^5.16.3",
71
+ "@types/jest": "^27.4.1",
78
72
  "@types/webpack-env": "^1.16.3",
79
- "@typescript-eslint/eslint-plugin": "^5.8.0",
80
- "@typescript-eslint/parser": "^5.8.0",
81
- "babel-loader": "^8.2.3",
73
+ "@typescript-eslint/eslint-plugin": "^5.16.0",
74
+ "@typescript-eslint/parser": "^5.16.0",
75
+ "babel-loader": "^8.2.4",
82
76
  "babel-plugin-inline-import": "^3.0.0",
83
- "eslint": "^7.32.0",
84
- "fork-ts-checker-webpack-plugin": "^6.5.0",
77
+ "eslint": "^8.12.0",
85
78
  "html-webpack-plugin": "^5.5.0",
86
79
  "husky": "^7.0.4",
87
- "jest": "^27.4.5",
80
+ "jest": "^27.5.1",
88
81
  "jest-fetch-mock": "^3.0.3",
89
- "lint-staged": "^12.1.4",
90
- "raw-loader": "^4.0.2",
91
- "standard": "^16.0.4",
92
- "ts-jest": "^27.1.2",
93
- "ts-loader": "^9.2.6",
94
- "typescript": "^4.5.4",
95
- "webpack": "^5.65.0",
96
- "webpack-cli": "^4.9.1",
97
- "webpack-dev-server": "^4.7.1"
82
+ "lint-staged": "^12.3.7",
83
+ "path-browserify": "^1.0.1",
84
+ "react": "^17.0.2",
85
+ "react-dom": "^17.0.2",
86
+ "ts-jest": "^27.1.4",
87
+ "typescript": "^4.6.3",
88
+ "webpack": "^5.70.0",
89
+ "webpack-cli": "^4.9.2",
90
+ "webpack-dev-server": "^4.7.4"
98
91
  },
99
92
  "husky": {
100
93
  "hooks": {
@@ -1,4 +1,4 @@
1
- import { IndexedFormula } from 'rdflib'
1
+ import { LiveStore } from 'rdflib'
2
2
  import { initFooter } from 'solid-ui'
3
3
 
4
4
  /**
@@ -7,7 +7,7 @@ import { initFooter } from 'solid-ui'
7
7
  const SOLID_PROJECT_URL = 'https://solidproject.org'
8
8
  const SOLID_PROJECT_NAME = 'solidproject.org'
9
9
 
10
- export function createFooter (store: IndexedFormula) {
10
+ export function createFooter (store: LiveStore) {
11
11
  initFooter(store, setFooterOptions())
12
12
  }
13
13
 
@@ -3,12 +3,12 @@
3
3
  ** This code is called in mashlib and renders the header and footer of the Databrowser.
4
4
  */
5
5
 
6
- import { IndexedFormula, NamedNode } from 'rdflib'
6
+ import { LiveStore, NamedNode } from 'rdflib'
7
7
  import { getOutliner } from '../index'
8
8
  import { createHeader } from './header'
9
9
  import { createFooter } from './footer'
10
10
 
11
- export default async function initMainPage (store: IndexedFormula, uri?: string|NamedNode|null) {
11
+ export default async function initMainPage (store: LiveStore, uri?: string|NamedNode|null) {
12
12
  const outliner = getOutliner(document)
13
13
  uri = uri || window.location.href
14
14
  let subject = uri
@@ -1,9 +1,9 @@
1
1
  export default {
2
- buildTime: '2022-03-22T16:54:30Z',
3
- commit: '9a6907a39367c8164945b5f90c613ca604d09f1d',
4
- npmInfo:
2
+ buildTime: "2022-03-29T15:40:53Z",
3
+ commit: "ede592887156f6cb74ec9d3649b4a3560e128106",
4
+ npmInfo:
5
5
  {
6
- 'solid-panes': '3.5.21',
6
+ 'solid-panes': '3.5.21-alpha',
7
7
  npm: '6.14.16',
8
8
  ares: '1.18.1',
9
9
  brotli: '1.0.9',
@@ -21,4 +21,4 @@ export default {
21
21
  v8: '8.4.371.23-node.85',
22
22
  zlib: '1.2.11'
23
23
  }
24
- }
24
+ };
package/tsconfig.json CHANGED
@@ -12,6 +12,7 @@
12
12
  // "checkJs": true, /* Report errors in .js files. */
13
13
  // "jsx": "preserve", /* Specify JSX code generation: 'preserve', 'react-native', or 'react'. */
14
14
  "declaration": true /* Generates corresponding '.d.ts' file. */,
15
+ "skipLibCheck": true,
15
16
  "declarationMap": true /* Generates a sourcemap for each corresponding '.d.ts' file. */,
16
17
  "sourceMap": true /* Generates corresponding '.map' file. */,
17
18
  // "outFile": "./", /* Concatenate and emit output to single file. */
package/webpack.config.js CHANGED
@@ -1,21 +1,14 @@
1
1
  const HtmlWebpackPlugin = require('html-webpack-plugin')
2
- const path = require('path')
3
2
 
4
3
  module.exports = [{
5
4
  mode: 'development',
6
5
  entry: './dev/loader.ts',
7
- output: {
8
- path: path.resolve(__dirname, 'dev/dist'),
9
- filename: 'loader.bundle.js'
10
- },
11
6
  plugins: [
12
7
  new HtmlWebpackPlugin({ template: './dev/index.html' })
13
8
  ],
14
9
  resolve: {
15
10
  extensions: ['.mjs', '.js', '.ts'],
16
- fallback: {
17
- path: require.resolve('path-browserify')
18
- }
11
+ fallback: { "path": false }
19
12
  },
20
13
  module: {
21
14
  rules: [
@@ -38,7 +31,7 @@ module.exports = [{
38
31
  '@trust/webcrypto': 'crypto'
39
32
  },
40
33
  devServer: {
41
- static: path.join(__dirname, 'dist'),
34
+ static: './dist',
42
35
  compress: true,
43
36
  port: 9000
44
37
  },