Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

throw Error Unrecognized option 'onwarn' when loader 3.0.0 #104

Closed
DingRui12138 opened this issue Jul 12, 2019 · 0 comments · Fixed by #105
Closed

throw Error Unrecognized option 'onwarn' when loader 3.0.0 #104

DingRui12138 opened this issue Jul 12, 2019 · 0 comments · Fixed by #105
Labels

Comments

@DingRui12138
Copy link

svelte/loader v3.0.0

There is 'TODO anything?' at index.js line 123.

{
  test: /\.svelte$/,
  exclude: /node_modules/,
  use: {
    loader: 'svelte-loader',
    options: {
      emitCss: true,
      onwarn,
      style: sass({}, {name: 'scss'}),
    },
  },
},

onwarn will be ignore.

Also, you forget to add onwarn to valid_options at svelte/compiler line 23800.

My english is so bad, I'm sorry. Do you understand me :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants