Skip to content

Commit fe294e9

Browse files
committed
- Reverted handlebars import
- Cleanup of configuration
1 parent 07c98cf commit fe294e9

File tree

7 files changed

+122
-453
lines changed

7 files changed

+122
-453
lines changed

.github/dependabot.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,4 @@ updates:
88
open-pull-requests-limit: 10
99
ignore:
1010
- dependency-name: "@types/node-fetch"
11-
- dependency-name: "abort-controller"
12-
- dependency-name: "cross-blob"
13-
- dependency-name: "form-data"
1411
- dependency-name: "node-fetch"

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,6 @@
7373
"@babel/core": "7.16.7",
7474
"@babel/preset-env": "7.16.7",
7575
"@babel/preset-typescript": "7.16.7",
76-
"@rollup/plugin-alias": "3.1.9",
7776
"@rollup/plugin-commonjs": "21.0.1",
7877
"@rollup/plugin-node-resolve": "13.1.3",
7978
"@rollup/plugin-typescript": "8.3.0",

rollup.config.js

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import alias from '@rollup/plugin-alias';
21
import commonjs from '@rollup/plugin-commonjs';
32
import { nodeResolve } from '@rollup/plugin-node-resolve';
43
import typescript from '@rollup/plugin-typescript';
@@ -56,11 +55,6 @@ const getPlugins = () => {
5655
typescript({
5756
module: 'esnext',
5857
}),
59-
alias({
60-
entries: {
61-
handlebars: 'handlebars/lib/handlebars.runtime',
62-
},
63-
}),
6458
];
6559
if (process.env.NODE_ENV === 'development') {
6660
return plugins;

src/utils/registerHandlebarHelpers.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import Handlebars from 'handlebars';
1+
import Handlebars from 'handlebars/runtime';
22

33
import { HttpClient } from '../HttpClient';
44
import { registerHandlebarHelpers } from './registerHandlebarHelpers';

src/utils/registerHandlebarHelpers.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import Handlebars from 'handlebars';
1+
import Handlebars from 'handlebars/runtime';
22

33
import { Enum } from '../client/interfaces/Enum';
44
import { Model } from '../client/interfaces/Model';

src/utils/registerHandlebarTemplates.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import Handlebars from 'handlebars';
1+
import Handlebars from 'handlebars/runtime';
22

33
import { HttpClient } from '../HttpClient';
44
import templateCoreApiError from '../templates/core/ApiError.hbs';

yarn.lock

Lines changed: 119 additions & 440 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)