chore: drop __dirname hack

This commit is contained in:
Nico Rehwaldt
2023-03-23 09:14:14 +01:00
committed by Nico Rehwaldt
parent c6b4a72337
commit 3c62526327

View File

@ -11,8 +11,6 @@ import {
readFileSync
} from 'fs';
import path from 'path';
import pkg from './package.json';
const outputDir = 'dist';
@ -83,7 +81,6 @@ function banner(bundleName, minified) {
: 'banner'
);
const __dirname = path.resolve();
const bannerTemplate = readFileSync(`${__dirname}/resources/${bannerName}.txt`, 'utf8');
const banner = processTemplate(bannerTemplate, {