chore: remove console.log
This commit is contained in:
1
index.ts
1
index.ts
@@ -5,7 +5,6 @@ export default function PoLoader() {
|
||||
name: 'po-loader',
|
||||
async transform(source: string, id: string) {
|
||||
const poRegEx = /\.po$/;
|
||||
console.log(id);
|
||||
if (poRegEx.test(id)) {
|
||||
const match = source.match(/Language: (\w+)/)
|
||||
const lang = match ? match[1] : 'en';
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@arnef/vite-plugin-gettext-loader",
|
||||
"version": "1.0.1",
|
||||
"version": "1.0.2",
|
||||
"main": "dist/index.js",
|
||||
"types": "dist/index.d.ts",
|
||||
"license": "MIT",
|
||||
|
||||
Reference in New Issue
Block a user