我有一个 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)