mirror of
https://github.com/harttle/liquidjs.git
synced 2026-09-29 07:05:13 -07:00
fix: support for NodeJS 15, fixes #732
This commit is contained in:
@@ -50,10 +50,6 @@ const browserStream = {
|
||||
delimiters: ['', ''],
|
||||
'./streamed-emitter': '../build/streamed-emitter-browser'
|
||||
}
|
||||
const browserPerf = {
|
||||
include: ['./src/context/context.ts', './src/render/render.ts'],
|
||||
'node:perf_hooks': '../build/perf_hooks-browser'
|
||||
}
|
||||
const esmRequire = {
|
||||
include: './src/fs/node.ts',
|
||||
delimiters: ['', ''],
|
||||
@@ -99,7 +95,6 @@ const browserEsm = {
|
||||
versionInjection,
|
||||
replace(browserFS),
|
||||
replace(browserStream),
|
||||
replace(browserPerf),
|
||||
typescript(tsconfig('es6'))
|
||||
],
|
||||
treeshake,
|
||||
@@ -118,7 +113,6 @@ const browserUmd = {
|
||||
versionInjection,
|
||||
replace(browserFS),
|
||||
replace(browserStream),
|
||||
replace(browserPerf),
|
||||
typescript(tsconfig('es5'))
|
||||
],
|
||||
treeshake,
|
||||
@@ -137,7 +131,6 @@ const browserMin = {
|
||||
versionInjection,
|
||||
replace(browserFS),
|
||||
replace(browserStream),
|
||||
replace(browserPerf),
|
||||
typescript(tsconfig('es5')),
|
||||
uglify()
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user