Error [ERR_MODULE_NOT_FOUND]: Cannot find module 'shortcss/lib/list' imported from stylelint-declaration-strict-value/dist/index.modern.mjs
Did you mean to import shortcss/lib/list.js?
at finalizeResolution (node:internal/modules/esm/resolve:255:11)
at moduleResolve (node:internal/modules/esm/resolve:908:10)
at defaultResolve (node:internal/modules/esm/resolve:1121:11)
at ModuleLoader.defaultResolve (node:internal/modules/esm/loader:396:12)
at ModuleLoader.resolve (node:internal/modules/esm/loader:365:25)
at ModuleLoader.getModuleJob (node:internal/modules/esm/loader:240:38)
at ModuleWrap.<anonymous> (node:internal/modules/esm/module_job:85:39)
at link (node:internal/modules/esm/module_job:84:36)
fixes #327
Moved
shortcss
andcss-values
todevDependencies
to include them within the bundle (microbundle injectdevDependencies
) https://github.com/developit/microbundle/issues/633#issuecomment-1207138431