Skip to content

Default lang options#1813

Open
bendytree wants to merge 2 commits intovuejs:masterfrom
bendytree:default-lang-options
Open

Default lang options#1813
bendytree wants to merge 2 commits intovuejs:masterfrom
bendytree:default-lang-options

Conversation

@bendytree
Copy link

This adds two new options: defaultStyleLang and defaultScriptLang. Personally I always use less and typescript, so I wanted a way to set those as the default. Example:

{
  test: /\.vue$/,
  loader: 'vue-loader',
  options: {
    defaultScriptLang: 'ts',
    defaultStyleLang: 'less',
  },
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant