feat: migrate to RSPack (#2131)

* Migrate to RSPack
* Add tests to CI, address coverage
* fix: Restore AWS sdk
* add simple serve
This commit is contained in:
Igor Savin
2026-03-15 00:08:19 +02:00
committed by GitHub
parent 2f68d9425b
commit 70b8f1145d
24 changed files with 10027 additions and 10773 deletions
+4 -1
View File
@@ -19,7 +19,10 @@ function create() {
hb.Utils = Utils;
hb.escapeExpression = Utils.escapeExpression;
hb.VM = runtime;
// Spread into a plain object so that runtime functions (e.g. checkRevision)
// can be overridden by consumers. ES module namespace objects are sealed with
// getter-only properties per spec, which would prevent monkey-patching.
hb.VM = { ...runtime };
hb.template = function (spec) {
return runtime.template(spec, hb);
};
+1 -1
View File
@@ -1,7 +1,7 @@
/* eslint-disable no-console */
import Async from 'neo-async';
import fs from 'fs';
import * as Handlebars from './handlebars';
import Handlebars from './handlebars';
import { basename } from 'path';
import { SourceMapConsumer, SourceNode } from 'source-map';