dbe5d43ba0
- svelte compilation outputs a separate .css file for each component - compilation also adds an "import foo.css" to the top of each generated .mjs file - when the .mjs files are bundled into app.js, esbuild creates an app.css as well - graphs.scss was renamed to graphs_shared.scss and imported in the top level GraphsPage. Henrik's style refactoring would be a better path forward, but I needed to make this change for now, as the filenames were conflicting. |
||
---|---|---|
.. | ||
BUILD.bazel | ||
README.md | ||
svelte.bzl | ||
svelte.ts |
Originally forked from https://github.com/thelgevold/rules_svelte (MIT) into https://github.com/ankitects/rules_svelte, and modified to generate TypeScript definitions in addition to mjs files. The parts we need are now integrated into this repo, so we can modify them more easily.