小编Mat*_*and的帖子

该模块的插件或加载程序报告了无效的依赖项

我有一个 Laravel/Inertia.js/Svelte 项目,我在其中导入基于svelte 组件中的Zurb Foundation设置文件的设置 sass 文件:

<style lang="scss">
    @import 'resources/sass/settings';

    ...
</style>
Run Code Online (Sandbox Code Playgroud)

该设置文件依次从 Foundation-sites 模块 (utils) 导入 sass 文件。尽管导入工作正常,但我从 Webpack 收到以下警告:

WARNING in ./resources/js/academy/transactions/orders/Order.svelte
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: …
Run Code Online (Sandbox Code Playgroud)

node-sass webpack laravel-mix svelte

7
推荐指数
0
解决办法
6842
查看次数

标签 统计

laravel-mix ×1

node-sass ×1

svelte ×1

webpack ×1