You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Recently I adapted the Rails project to compile CSS via esbuild, everything works great but I would like to reduce the time of the compilation. Because of that, I tried to use the embedded: true flag, but for some reason I've got the below error:
14:50:51 js_css.1 | ✘ [ERROR] [plugin sass-plugin] onDispose is not a function
14:50:51 js_css.1 |
14:50:51 js_css.1 |**/rails_project/node_modules/esbuild-sass-plugin/lib/render.js:35:8:
14:50:51 js_css.1 | 35 │ onDispose(compiler.dispose.bind(compiler));
14:50:51 js_css.1 | ╵ ^
14:50:51 js_css.1 |
14:50:51 js_css.1 | at createCompiler (**/rails_project/node_modules/esbuild-sass-plugin/lib/render.js:35:9)
14:50:51 js_css.1 | at async createRenderer (**/rails_projectnode_modules/esbuild-sass-plugin/lib/render.js:80:27)
14:50:51 js_css.1 | at async setup (**/rails_project/node_modules/esbuild-sass-plugin/lib/plugin.js:52:32)
14:50:51 js_css.1 | at async handlePlugins (**/rails_project/node_modules/esbuild/lib/main.js:897:11)
Maybe I'm doing something wrong, or there is a problem with the plugin, I don't know., but I'd like to start the conversation to get comments about this situation.
The text was updated successfully, but these errors were encountered:
Hi!
Recently I adapted the Rails project to compile CSS via esbuild, everything works great but I would like to reduce the time of the compilation. Because of that, I tried to use the
embedded: true
flag, but for some reason I've got the below error:My plugin configuration:
Maybe I'm doing something wrong, or there is a problem with the plugin, I don't know., but I'd like to start the conversation to get comments about this situation.
The text was updated successfully, but these errors were encountered: