wuchale 0.23.0 → 0.23.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -112,7 +112,7 @@ export class Files {
112
112
  getImportPath(filename, importer) {
113
113
  const relTo = importer ? resolve(this.#opts.root, importer) : filename;
114
114
  filename = normalizeSep(relative(dirname(relTo), filename));
115
- if (!filename.startsWith('.')) {
115
+ if (!filename.startsWith('../') && !filename.startsWith('./')) {
116
116
  filename = `./${filename}`;
117
117
  }
118
118
  return filename;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wuchale",
3
- "version": "0.23.0",
3
+ "version": "0.23.1",
4
4
  "description": "Protobuf-like i18n from plain code",
5
5
  "scripts": {
6
6
  "dev": "tsc --watch",