timgremore
commited on
Commit
•
ac73841
1
Parent(s):
c25ca02
chore: Stop eagerly compiling stories in non-dev
Browse filesRunning the test suite triggers recompilation of storybook entries and slows down the test suite.
lib/medical_transcription_web/storybook.ex
CHANGED
@@ -9,5 +9,6 @@ defmodule MedicodeWeb.Storybook do
|
|
9 |
# assets path are remote path, not local file-system paths
|
10 |
css_path: "/assets/storybook.css",
|
11 |
js_path: "/assets/storybook.js",
|
12 |
-
sandbox_class: "medical-transcription-web"
|
|
|
13 |
end
|
|
|
9 |
# assets path are remote path, not local file-system paths
|
10 |
css_path: "/assets/storybook.css",
|
11 |
js_path: "/assets/storybook.js",
|
12 |
+
sandbox_class: "medical-transcription-web",
|
13 |
+
compilation_mode: :lazy
|
14 |
end
|