Skip to content

Commit

Permalink
Updated PR
Browse files Browse the repository at this point in the history
  • Loading branch information
oliverfindl committed Jun 28, 2022
1 parent 9893bb7 commit 8a0084a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions nuxt/index.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
"use strict";

const { join } = require("path");

export default function vueSvgInlineLoaderModule(moduleOptions) {
Expand All @@ -11,6 +13,7 @@ export default function vueSvgInlineLoaderModule(moduleOptions) {
const vueRule = config.module.rules.find(
({ test }) => test.toString() === /\.vue$/i.toString()
);

if (!vueRule.use) {
vueRule.use = [
{
Expand Down

0 comments on commit 8a0084a

Please sign in to comment.