Skip to content

Reduce webpack config rules #4147

Closed
Closed
@orblazer

Description

@orblazer

Version

3.8.3

Environment info

  System:
    OS: Linux 5.1 Antergos Linux undefined
    CPU: (4) x64 Intel(R) Core(TM) i5-6500 CPU @ 3.20GHz
  Binaries:
    Node: 11.15.0 - /usr/bin/node
    Yarn: 1.16.0 - /usr/bin/yarn
    npm: 6.9.0 - /usr/bin/npm
  Browsers:
    Chrome: Not Found
    Firefox: 67.0.2
  npmPackages:
    @ascendancyy/vue-cli-plugin-stylelint: ^1.1.2 => 1.1.2 
    @oncomouse/vue-cli-plugin-advanced-vuex-store: ^1.1.1 => 1.1.1 
    @types/vuelidate: ^0.7.5 => undefined ()
    @vue/babel-helper-vue-jsx-merge-props:  1.0.0 
    @vue/babel-plugin-transform-vue-jsx:  1.0.0 
    @vue/babel-preset-app:  3.8.0 
    @vue/babel-preset-jsx:  1.0.0 
    @vue/babel-sugar-functional-vue:  1.0.0 
    @vue/babel-sugar-inject-h:  1.0.0 
    @vue/babel-sugar-v-model:  1.0.0 
    @vue/babel-sugar-v-on:  1.0.0 
    @vue/cli-overlay:  3.8.0 
    @vue/cli-plugin-babel: ^3.8.0 => 3.8.0 
    @vue/cli-plugin-eslint: ^3.8.0 => 3.8.0 
    @vue/cli-plugin-typescript: ^3.8.1 => 3.8.1 
    @vue/cli-service: ^3.8.3 => 3.8.3 
    @vue/cli-shared-utils:  3.8.0 
    @vue/component-compiler-utils:  2.6.0 
    @vue/eslint-config-standard: ^4.0.0 => 4.0.0 
    @vue/eslint-config-typescript: ^4.0.0 => 4.0.0 
    @vue/preload-webpack-plugin:  1.1.0 
    @vue/web-component-wrapper:  1.2.0 
    eslint-plugin-vue: ^5.2.2 => 5.2.2 (4.7.1)
    typescript: ^3.5.2 => 3.5.2 
    vue: ^2.6.10 => 2.6.10 
    vue-apollo: ^3.0.0-beta.30 => 3.0.0-beta.30 
    vue-class-component:  7.1.0 
    vue-cli-plugin-apollo: ^0.20.0 => 0.20.0 
    vue-cli-plugin-i18n: ^0.6.0 => 0.6.0 
    vue-cli-plugin-style-resources-loader: ^0.1.3 => 0.1.3 
    vue-eslint-parser:  5.0.0 (2.0.3)
    vue-head: ^2.1.1 => 2.1.1 
    vue-hot-reload-api:  2.3.3 
    vue-i18n: ^8.11.2 => 8.11.2 
    vue-i18n-extract:  0.4.14 
    vue-i18n-ts:  0.1.0 
    vue-loader:  15.7.0 
    vue-property-decorator: ^8.1.1 => 8.1.1 
    vue-router: ^3.0.6 => 3.0.6 
    vue-style-loader:  4.1.2 
    vue-template-compiler: ^2.6.10 => 2.6.10 
    vue-template-es2015-compiler:  1.9.1 
    vue-toasted: ^1.1.27 => 1.1.27 
    vuelidate: ^0.7.4 => 0.7.4 
    vuex: ^3.1.1 => 3.1.1 
    vuex-class: ^0.3.2 => 0.3.2 
    vuex-persist: ^2.0.1 => 2.0.1 
  npmGlobalPackages:
    @vue/cli: Not Found

Steps to reproduce

  1. Create project
  2. choice sass style
  3. inspec config

What is expected?

Don't have rules for stylus, less when use sass styles

What is actually happening?

The rules of webpack have usless rules like stylus, less if we use sass styles


I think is linked of an other problem, the build stuck for 30-40 seconds on step 40% building x/x modules ... (this message end with file core-js/library/fn/promise.js on start and with component .vue when i update component with more 100 lines)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions