Some sort of scss throws and error on import attempt, until it's available as a remnant of a prior build.
Having CI/CD build twice now as a workaround which is eh
c93f550b068bd2db952183e9a30ff121c2dc6b15
❯ npm run storybookbuild
> [email protected] storybookbuild
> build-storybook -o storybook_build
info @storybook/svelte v6.5.9
info
info => Cleaning outputDir: /Users/bmitchinson/repos/personal/notion-publish-tool/storybook_build
info => Loading presets
info => Copying static files: /Users/bmitchinson/repos/personal/notion-publish-tool/src/assets at /Users/bmitchinson/repos/personal/notion-publish-tool/storybook_build/assets
info => Compiling manager..
info => Compiling preview..
(node:65390) [DEP0148] DeprecationWarning: Use of deprecated folder mapping "./" in the "exports" field module resolution of the package at /Users/bmitchinson/repos/personal/notion-publish-tool/node_modules/tslib/package.json.
Update this package.json to use a subpath pattern like "./*".
(Use `node --trace-deprecation ...` to show where the warning was created)
info Addon-docs: using MDX1
info => Using implicit CSS loaders
info => Using default Webpack5 setup
ERR! => Failed to build the preview
ERR! Module build failed (from ./node_modules/@storybook/svelte/dist/cjs/server/svelte-docgen-loader.js):
ERR! Error: Can't find stylesheet to import.
ERR! ╷
ERR! 2 │ @import '../colors.scss';
ERR! │ ^^^^^^^^^^^^^^^^
ERR! ╵
ERR! src/svelte/components/stories/ModalView.svelte 2:13 root stylesheet
ERR! at Object.wrapException (/Users/bmitchinson/repos/personal/notion-publish-tool/node_modules/sass/sass.dart.js:1234:17)
ERR! at /Users/bmitchinson/repos/personal/notion-publish-tool/node_modules/sass/sass.dart.js:69445:25