diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml new file mode 100644 index 0000000..a23eae0 --- /dev/null +++ b/pnpm-workspace.yaml @@ -0,0 +1,3 @@ +allowBuilds: + esbuild: true + vue-demi: true diff --git a/src/core/localePlugn.ts b/src/core/localePlugn.ts index a766f3d..39b62e6 100644 --- a/src/core/localePlugn.ts +++ b/src/core/localePlugn.ts @@ -25,7 +25,7 @@ export const localePlugin = createUnplugin((options: LocalePluginOptions) => { return { code: s.toString(), map: options.sourcemap - ? s.generateMap({ source: id, includeContent: true }) + ? s.generateMap({ source: id, includeContent: true, hires: true }) : undefined } } diff --git a/src/core/transformPlugin.ts b/src/core/transformPlugin.ts index 1c6461e..35143ec 100644 --- a/src/core/transformPlugin.ts +++ b/src/core/transformPlugin.ts @@ -93,7 +93,7 @@ export const transformPlugin = createUnplugin((options: PluginOptions) => { return { code: s.toString(), map: sourcemap - ? s.generateMap({ source: id, includeContent: true }) + ? s.generateMap({ source: id, includeContent: true, hires: true }) : undefined } }