Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Sass Loader unknow property 'minimize'#36

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
ronalson wants to merge1 commit intonativescript-vue:master
base:master
Choose a base branch
Loading
fromronalson:fix/sass-loader-config

Conversation

ronalson
Copy link

What's happening

After upgrading my Nativescript project to 6.3.1 I got the error bellow when using Sass.

Error message:

ERROR in ./components/Main.vue?vue&type=style&index=0&lang=sass& (../node_modules/nativescript-dev-webpack/style-hot-loader.js!../node_modules/nativescript-dev-webpack/apply-css-loader.js!../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-0-2!../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../node_modules/postcss-loader/src??ref--7-oneOf-0-3!../node_modules/sass-loader/dist/cjs.js??ref--7-oneOf-0-4!../node_modules/vue-loader/lib??vue-loader-options!../node_modules/string-replace-loader??ref--12-1!./components/Main.vue?vue&type=style&index=0&lang=sass&)Module build failed (from ../node_modules/sass-loader/dist/cjs.js):ValidationError: Invalid options object. Sass Loader has been initialised using an options object that does not match the API schema. - options has an unknown property 'minimize'. These properties are valid:   object { implementation?, sassOptions?, prependData?, sourceMap?, webpackImporter? }

Solution

Commenting out the invalid option did the trick.

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

1 participant
@ronalson

[8]ページ先頭

©2009-2025 Movatter.jp