Skip to content

Commit

Permalink
fix: build lru-cache interop
Browse files Browse the repository at this point in the history
  • Loading branch information
jairoblatt committed Nov 24, 2023
1 parent cc8a843 commit 626c5df
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/module.ts
Expand Up @@ -59,7 +59,10 @@ export default defineNuxtModule<ModuleOptions>({
);

nuxt.options.build.transpile.push(resolve('runtime'));
nuxt.options.build.transpile.push('rollbar');

if (process.env.NODE_ENV === 'development') {
nuxt.options.build.transpile.push('rollbar');
}

addImports([
{
Expand Down

0 comments on commit 626c5df

Please sign in to comment.