Relocate transpiles maps
This commit is contained in:
@@ -3,7 +3,7 @@ import fs from 'fs';
|
|||||||
import path from 'path';
|
import path from 'path';
|
||||||
|
|
||||||
const inputDir = './static/mapFiles/yaml';
|
const inputDir = './static/mapFiles/yaml';
|
||||||
const outputDir = './static/mapFiles/json';
|
const outputDir = './src/lib/assets/route';
|
||||||
const indexFile = './static/map-index.json';
|
const indexFile = './static/map-index.json';
|
||||||
|
|
||||||
const noiseRegex = /\s+(single line|junction|jn|junc|jct|gf|north|south|east|west)\.?$/i;
|
const noiseRegex = /\s+(single line|junction|jn|junc|jct|gf|north|south|east|west)\.?$/i;
|
||||||
|
|||||||
Reference in New Issue
Block a user