なぜか .ts という拡張子で来るのかは不明
This commit is contained in:
syuilo 2018-08-23 02:28:58 +09:00
parent 1b9c69f793
commit d129151fdf

View file

@ -27,6 +27,8 @@ export default class Replacer {
let text = texts;
if (path) {
path = path.replace('.ts', '');
if (text.hasOwnProperty(path)) {
text = text[path];
} else {