mirror of
https://github.com/bpmn-io/bpmn-js.git
synced 2025-05-17 15:19:23 +08:00
chore: drop __dirname
hack
This commit is contained in:

committed by
Nico Rehwaldt

parent
c6b4a72337
commit
3c62526327
@ -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, {
|
||||
|
Reference in New Issue
Block a user