[Vuejs]-Vue-loader interfering with custom plugin

0👍

I was able to resolve the problem by moving the custom loader into the *.vue rule:

      {
        test: /\.vue$/,
        use: [
          'vue-loader',
          {loader: myCustomLoader}
        ]
      },

instead of using:

      {
        test: /\.vue$/,
        loader: 'vue-loader'
      },

which is the standard way of adding vue-loader.

Leave a comment