-
Notifications
You must be signed in to change notification settings - Fork 19
Open
Description
Noticed this when cleaning things up after the update to 2.x in https://github.com/quarkusio/search.quarkus.io
If quarkus.web-bundler.node-modules config property is set, build results in:
[INFO] --- quarkus:3.30.6:build (default) @ demo1 ---
[INFO] [io.quarkiverse.web.bundler.deployment.WebDependenciesProcessor] All Web Dependencies are already installed in './aaa/node_modules'.
[INFO] [io.quarkiverse.web.bundler.deployment.BundlePrepareProcessor] Preparing Web Bundling for 'app' with 1 files
[INFO] [io.mvnpm.esbuild.deno.ScriptLog] [0merror: Import "esbuild-sass-plugin" not a dependency
[INFO] [io.mvnpm.esbuild.deno.ScriptLog] [0mhint: If you want to use the npm package, try running `deno add npm:esbuild-sass-plugin`
[INFO] [io.mvnpm.esbuild.deno.ScriptLog] at file:///...../web-bundler-nodemodules/demo1/target/web-bundler/prod/build.js:3:26
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------to reproduce:
- create a simple quarkus app (e.g. with REST)
- add
quarkus-web-bundlerdependency - add a simple
src/main/resources/web/index.html - add
quarkus.web-bundler.node-modules=aaato application properties - try to build the app with e.g.
mvn clean package -DskipTests
looks like the build fails to import the sass plugin:
import * as esbuild from 'esbuild';
import {sassPlugin} from 'esbuild-sass-plugin';
const nodeModulesDir = "../../../aaa/node_modules";Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels