-
Notifications
You must be signed in to change notification settings - Fork 2
Description
Describe the bug
error during build:
[vite]: Rollup failed to resolve import "@vaadin/polymer-legacy-adapter/style-modules.js" from "J:/fc/addons/fc-addons-demos-25/src/main/frontend/generated/flow/generated-flow-imports.js".
This is most likely unintended because it can break your application at runtime.
If you do want to externalize this module explicitly add it to
build.rollupOptions.external
at viteLog (file:///J:/fc/addons/fc-addons-demos-25/node_modules/vite/dist/node/chunks/dep-Chhhsdoe.js:33989:57)
at file:///J:/fc/addons/fc-addons-demos-25/node_modules/vite/dist/node/chunks/dep-Chhhsdoe.js:34025:73
at Object.onwarn (file:///J:/fc/addons/fc-addons-demos-25/node_modules/.vite-temp/vite.config.ts.timestamp-1760544941476-9124938641a76.mjs:1496:11)
at onwarn (file:///J:/fc/addons/fc-addons-demos-25/node_modules/@vitejs/plugin-react/dist/index.js:54:78)
at file:///J:/fc/addons/fc-addons-demos-25/node_modules/vite/dist/node/chunks/dep-Chhhsdoe.js:34025:28
at onRollupLog (file:///J:/fc/addons/fc-addons-demos-25/node_modules/vite/dist/node/chunks/dep-Chhhsdoe.js:34020:63)
at onLog (file:///J:/fc/addons/fc-addons-demos-25/node_modules/vite/dist/node/chunks/dep-Chhhsdoe.js:33821:4)
at file:///J:/fc/addons/fc-addons-demos-25/node_modules/rollup/dist/es/shared/node-entry.js:20937:32
at Object.logger [as onLog] (file:///J:/fc/addons/fc-addons-demos-25/node_modules/rollup/dist/es/shared/node-entry.js:22823:9)
at ModuleLoader.handleInvalidResolvedId (file:///J:/fc/addons/fc-addons-demos-25/node_modules/rollup/dist/es/shared/node-entry.js:21567:26)
at file:///J:/fc/addons/fc-addons-demos-25/node_modules/rollup/dist/es/shared/node-entry.js:21525:26
Expected behavior
Build should not fail (?)
Minimal reproducible example
https://github.com/FlowingCode/AddonsDemo/tree/vaadin25
Add-on Version
1.4.6-SNAPSHOT
Vaadin Version
25.0.0-alpha14
Additional information
No response
Metadata
Metadata
Assignees
Labels
Type
Projects
Status