Skip to content

A pre-loader to add pug template dependencies as loader's deps without changing anything of the input.

Notifications You must be signed in to change notification settings

ibyteyou/pug-deps-loader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

A pre-loader to add pug template dependencies as loader's deps without changing anything of the input.

Use it like below:

{
  test: /\.vue$/,
  loader: 'vue-loader',
  options: {
    preLoaders: {
      pug: 'pug-deps-loader'
    }
  }
}

Reference: vuejs/vue-loader#1122

About

A pre-loader to add pug template dependencies as loader's deps without changing anything of the input.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published