shadow-cljs

niwinz 2025-05-22T08:11:33.231229Z

Hello @thheller, we are getting a possible regression after upgrading from 3.0.5 to 3.1.3 on building an ESM module for storybook. Open a 🧵

niwinz 2025-05-22T08:12:42.610339Z

I have made grep the nativeProperty on cljs-runtime, and there are no file where nativeProperty is defiend

niwinz 2025-05-22T08:13:19.287559Z

Our config is:

:storybook
  {:target :esm
   :output-dir "target/storybook/"
   :js-options {:js-provider :import}

   :modules
   {:base
    {:entries []}

    :components
    {:exports {default app.main.ui.ds/default
               helpers app.main.ui.ds.helpers/default}
     :depends-on #{:base}}}

   :compiler-options
   {:output-feature-set :es2020
    :output-wrapper false
    :warnings {:fn-deprecated false}}}

thheller 2025-05-22T08:29:53.486799Z

oh hmm yeah I changed that in 3.1.3. forgot that doesn't always exists

thheller 2025-05-22T08:33:48.797039Z

should be fixed in 3.1.4

❤️ 1