-
-
Notifications
You must be signed in to change notification settings - Fork 89
Open
Description
Version
webpack-plugin-vuetify@3.1.1
Description
When using the configFile option in the plugin configuration and importing vuetify/styles in a TypeScript file, the styles are not being included in the final bundle.
Furthermore, I see warning in terminal:
Invalid dependencies have been reported by plugins or loaders for this module. All reported dependencies need to be absolute paths.
Invalid dependencies may lead to broken watching and caching.
As best effort we try to convert all invalid values to absolute paths and converting globs into context dependencies, but this is deprecated behavior.
Loaders: Pass absolute paths to this.addDependency (existing files), this.addMissingDependency (not existing files), and this.addContextDependency (directories).
Plugins: Pass absolute paths to fileDependencies (existing files), missingDependencies (not existing files), and contextDependencies (directories).
Globs: They are not supported. Pass absolute path to the directory as context dependencies.
The following invalid values have been reported:
* "C:/xxx/node_modules/.cache/vuetify/lib/styles/main.sass"`
Steps to Reproduce
- Install
webpack-plugin-vuetify@3.1.1 - Configure the plugin with
configFile:const { VuetifyPlugin } = require('webpack-plugin-vuetify'); VuetifyPlugin({ configFile: 'path/to/my/settings.scss' })
- Import styles in your entry TypeScript file:
import 'vuetify/styles';- Run the project via
vue-cli-service styleguidist
Expected Behavior
Vuetify styles should be loaded and applied correctly.
Actual Behavior
The styles are missing, and Vuetify components appear unstyled.
Additional Notes
- This issue does not occur in version 2.0.1
- Without configFile, styles are loaded, but Vuetify’s defaults (like typography) are not overridden in that case.
Metadata
Metadata
Assignees
Labels
No labels